Skip to content
Myr

Update ui test suite to nightly-2026-08-03

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by David Tolnay · parent cfcc279 · Browse files · 1 file+7 added−7 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+7 added−7 removed

  • tests:+7 added−7 removed

1 file+7 added−7 removed

modified:tests/ui/no-impl.stderr+7 added-7 removed
1error[E0599]: the method `anyhow_kind` exists for reference `&Error`, but its trait bounds were not satisfied2 --> tests/ui/no-impl.rs:7:133 |44 | struct Error;5 | ------------ doesn't satisfy `Error: Into<anyhow::Error>`, `Error: anyhow::kind::TraitKind` or `Error: std::fmt::Display`5 | ------------ doesn't satisfy `Error: Into<anyhow::Error>`, `Error: anyhow::__private::kind::TraitKind` or `Error: std::fmt::Display`6...77 | let _ = anyhow!(Error);8 | ^^^^^^^^^^^^^^ method cannot be called on `&Error` due to unsatisfied trait bounds9 |10 = note: the following trait bounds were not satisfied:11 `Error: Into<anyhow::Error>`12 which is required by `Error: anyhow::kind::TraitKind`12 which is required by `Error: anyhow::__private::kind::TraitKind`13 `Error: std::fmt::Display`14 which is required by `&Error: anyhow::kind::AdhocKind`14 which is required by `&Error: anyhow::__private::kind::AdhocKind`15 `&Error: Into<anyhow::Error>`16 which is required by `&Error: anyhow::kind::TraitKind`16 which is required by `&Error: anyhow::__private::kind::TraitKind`17note: the traits `Into` and `std::fmt::Display` must be implemented18 --> $RUST/core/src/fmt/mod.rs19 |20 | pub trait Display: PointeeSized {
4 unmodified lines
25 | pub const trait Into<T>: Sized {26 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^27 = help: items from traits can only be used if the trait is implemented and in scope28 = note: the following traits define an item `anyhow_kind`, perhaps you need to implement one of them:29 candidate #1: `anyhow::kind::AdhocKind`30 candidate #2: `anyhow::kind::BoxedKind`31 candidate #3: `anyhow::kind::TraitKind`29 candidate #1: `anyhow::__private::kind::AdhocKind`30 candidate #2: `anyhow::__private::kind::BoxedKind`31 candidate #3: `anyhow::__private::kind::TraitKind`32 = note: this error originates in the macro `anyhow` (in Nightly builds, run with -Z macro-backtrace for more info)