Skip to content

Commit

Permalink
Update ui test suite to nightly-2022-07-02
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jul 2, 2022
1 parent a3a2f08 commit 9054599
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions tests/ui/no-impl.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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<anyhow::Error>`
| doesn't satisfy `Error: anyhow::private::kind::TraitKind`
Expand All @@ -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<T>: 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<T>: 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)

0 comments on commit 9054599

Please sign in to comment.