Skip to content

Commit

Permalink
Update ui test suite to nightly-2021-01-29
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jan 29, 2021
1 parent c09ddc2 commit d0f521c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions tests/ui/no-display.stderr
@@ -1,12 +1,12 @@
error[E0599]: no method named `as_display` found for reference `&NoDisplay` in the current scope
error[E0599]: the method `as_display` exists for reference `&NoDisplay`, but its trait bounds were not satisfied
--> $DIR/no-display.rs:7:9
|
4 | struct NoDisplay;
| ----------------- doesn't satisfy `NoDisplay: std::fmt::Display`
...
7 | #[error("thread: {thread}")]
| ^^^^^^^^^^^^^^^^^^ method not found in `&NoDisplay`
| ^^^^^^^^^^^^^^^^^^ method cannot be called on `&NoDisplay` due to unsatisfied trait bounds
|
= note: the method `as_display` exists but the following trait bounds were not satisfied:
= note: the following trait bounds were not satisfied:
`NoDisplay: std::fmt::Display`
which is required by `&NoDisplay: DisplayAsDisplay`
6 changes: 3 additions & 3 deletions tests/ui/source-enum-not-error.stderr
@@ -1,4 +1,4 @@
error[E0599]: no method named `as_dyn_error` found for reference `&NotError` in the current scope
error[E0599]: the method `as_dyn_error` exists for reference `&NotError`, but its trait bounds were not satisfied
--> $DIR/source-enum-not-error.rs:10:9
|
4 | pub struct NotError;
Expand All @@ -8,9 +8,9 @@ error[E0599]: no method named `as_dyn_error` found for reference `&NotError` in
| doesn't satisfy `NotError: std::error::Error`
...
10 | source: NotError,
| ^^^^^^ method not found in `&NotError`
| ^^^^^^ method cannot be called on `&NotError` due to unsatisfied trait bounds
|
= note: the method `as_dyn_error` exists but the following trait bounds were not satisfied:
= note: the following trait bounds were not satisfied:
`NotError: std::error::Error`
which is required by `NotError: AsDynError`
`&NotError: std::error::Error`
Expand Down
6 changes: 3 additions & 3 deletions tests/ui/source-struct-not-error.stderr
@@ -1,4 +1,4 @@
error[E0599]: no method named `as_dyn_error` found for struct `NotError` in the current scope
error[E0599]: the method `as_dyn_error` exists for struct `NotError`, but its trait bounds were not satisfied
--> $DIR/source-struct-not-error.rs:9:5
|
4 | struct NotError;
Expand All @@ -9,8 +9,8 @@ error[E0599]: no method named `as_dyn_error` found for struct `NotError` in the
| doesn't satisfy `NotError: std::error::Error`
...
9 | source: NotError,
| ^^^^^^ method not found in `NotError`
| ^^^^^^ method cannot be called on `NotError` due to unsatisfied trait bounds
|
= note: the method `as_dyn_error` exists but the following trait bounds were not satisfied:
= note: the following trait bounds were not satisfied:
`NotError: std::error::Error`
which is required by `NotError: AsDynError`

0 comments on commit d0f521c

Please sign in to comment.