diff --git a/tests/ui/no-impl.stderr b/tests/ui/no-impl.stderr index 02ab494..1e4a9ba 100644 --- a/tests/ui/no-impl.stderr +++ b/tests/ui/no-impl.stderr @@ -2,7 +2,7 @@ error[E0599]: the method `anyhow_kind` exists for reference `&Error`, but its tr --> tests/ui/no-impl.rs:7:13 | 4 | struct Error; - | ------------- + | ------------ | | | doesn't satisfy `Error: Into` | doesn't satisfy `Error: anyhow::private::kind::TraitKind` @@ -21,22 +21,11 @@ error[E0599]: the method `anyhow_kind` exists for reference `&Error`, but its tr note: the following traits must be implemented --> $RUST/core/src/convert/mod.rs | - | / pub trait Into: Sized { - | | /// Converts this type into the (usually inferred) input type. - | | #[must_use] - | | #[stable(feature = "rust1", since = "1.0.0")] - | | fn into(self) -> T; - | | } - | |_^ + | pub trait Into: Sized { + | ^^^^^^^^^^^^^^^^^^^^^^^^ | ::: $RUST/core/src/fmt/mod.rs | - | / pub trait Display { - | | /// Formats the value using the given formatter. - | | /// - | | /// # Examples -... | - | | fn fmt(&self, f: &mut Formatter<'_>) -> Result; - | | } - | |_^ + | pub trait Display { + | ^^^^^^^^^^^^^^^^^ = note: this error originates in the macro `anyhow` (in Nightly builds, run with -Z macro-backtrace for more info)