Update ui test suite to nightly-2021-01-29

This commit is contained in:
David Tolnay 2021-01-28 18:37:39 -08:00
parent c09ddc2241
commit d0f521c208
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
3 changed files with 9 additions and 9 deletions

View File

@ -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`

View File

@ -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;
@ -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`

View File

@ -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;
@ -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`