Skip to content
Myr

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

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 bf3ed91 · 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::__private::kind::TraitKind` or `Error: std::fmt::Display`5 | ------------ doesn't satisfy `Error: anyhow::__private::kind::TraitKind`, `Error: std::error::Error` 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>`11 `Error: std::error::Error`12 which is required by `Error: anyhow::__private::kind::TraitKind`13 `Error: std::fmt::Display`14 which is required by `&Error: anyhow::__private::kind::AdhocKind`15 `&Error: Into<anyhow::Error>`15 `Error: std::error::Error`16 which is required by `&Error: anyhow::__private::kind::TraitKind`17note: the traits `Into` and `std::fmt::Display` must be implemented17note: the traits `std::error::Error` and `std::fmt::Display` must be implemented18 --> $RUST/core/src/fmt/mod.rs19 |20 | pub trait Display: PointeeSized {21 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^22 |23 ::: $RUST/core/src/convert/mod.rs23 ::: $RUST/core/src/error.rs24 |25 | pub const trait Into<T>: Sized {26 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^25 | pub trait Error: Debug + Display {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::__private::kind::AdhocKind`30 candidate #2: `anyhow::__private::kind::BoxedKind`
2 unmodified lines