Skip to content
Myr

Update ui test suite to nightly-2022-07-02

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 a3a2f08 · Browse files · 1 file+5 added−16 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+5 added−16 removed

  • tests:+5 added−16 removed

1 file+5 added−16 removed

modified:tests/ui/no-impl.stderr+5 added-16 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 | -------------5 | ------------6 | |7 | doesn't satisfy `Error: Into<anyhow::Error>`8 | doesn't satisfy `Error: anyhow::private::kind::TraitKind`9 | doesn't satisfy `Error: std::fmt::Display`
10 unmodified lines
20 which is required by `&Error: anyhow::private::kind::TraitKind`21note: the following traits must be implemented22 --> $RUST/core/src/convert/mod.rs23 |24 | / pub trait Into<T>: Sized {25 | | /// Converts this type into the (usually inferred) input type.26 | | #[must_use]27 | | #[stable(feature = "rust1", since = "1.0.0")]28 | | fn into(self) -> T;29 | | }30 | |_^24 | pub trait Into<T>: Sized {25 | ^^^^^^^^^^^^^^^^^^^^^^^^26 |27 ::: $RUST/core/src/fmt/mod.rs28 |34 | / pub trait Display {35 | | /// Formats the value using the given formatter.36 | | ///37 | | /// # Examples38... |39 | | fn fmt(&self, f: &mut Formatter<'_>) -> Result;40 | | }41 | |_^29 | pub trait Display {30 | ^^^^^^^^^^^^^^^^^31 = note: this error originates in the macro `anyhow` (in Nightly builds, run with -Z macro-backtrace for more info)