Update ui tests to nightly-2020-03-01

This commit is contained in:
David Tolnay 2020-03-01 11:41:15 -08:00
parent 55d6fbb460
commit a15f36fde6
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82
3 changed files with 34 additions and 24 deletions

View file

@ -1,8 +1,9 @@
error[E0599]: no method named `as_display` found for reference `&std::thread::Thread` in the current scope
--> $DIR/no-display.rs:5:9
|
5 | #[error("thread: {thread}")]
| ^^^^^^^^^^^^^^^^^^ method not found in `&std::thread::Thread`
|
= note: the method `as_display` exists but the following trait bounds were not satisfied:
`&std::thread::Thread : thiserror::display::DisplayAsDisplay`
--> $DIR/no-display.rs:5:9
|
5 | #[error("thread: {thread}")]
| ^^^^^^^^^^^^^^^^^^ method not found in `&std::thread::Thread`
|
= note: the method `as_display` exists but the following trait bounds were not satisfied:
`std::thread::Thread: std::fmt::Display`
which is required by `&std::thread::Thread: thiserror::display::DisplayAsDisplay`

View file

@ -1,10 +1,15 @@
error[E0599]: no method named `as_dyn_error` found for reference `&std::string::String` in the current scope
--> $DIR/source-enum-not-error.rs:7:9
|
7 | source: String,
| ^^^^^^ method not found in `&std::string::String`
|
= note: the method `as_dyn_error` exists but the following trait bounds were not satisfied:
`&std::string::String : thiserror::aserror::AsDynError`
`std::string::String : thiserror::aserror::AsDynError`
`str : thiserror::aserror::AsDynError`
--> $DIR/source-enum-not-error.rs:7:9
|
7 | source: String,
| ^^^^^^ method not found in `&std::string::String`
|
= note: the method `as_dyn_error` exists but the following trait bounds were not satisfied:
`std::string::String: std::error::Error`
which is required by `std::string::String: thiserror::aserror::AsDynError`
`&std::string::String: std::error::Error`
which is required by `&std::string::String: thiserror::aserror::AsDynError`
`str: std::marker::Sized`
which is required by `str: thiserror::aserror::AsDynError`
`str: std::error::Error`
which is required by `str: thiserror::aserror::AsDynError`

View file

@ -1,9 +1,13 @@
error[E0599]: no method named `as_dyn_error` found for struct `std::string::String` in the current scope
--> $DIR/source-struct-not-error.rs:6:5
|
6 | source: String,
| ^^^^^^ method not found in `std::string::String`
|
= note: the method `as_dyn_error` exists but the following trait bounds were not satisfied:
`std::string::String : thiserror::aserror::AsDynError`
`str : thiserror::aserror::AsDynError`
--> $DIR/source-struct-not-error.rs:6:5
|
6 | source: String,
| ^^^^^^ method not found in `std::string::String`
|
= note: the method `as_dyn_error` exists but the following trait bounds were not satisfied:
`std::string::String: std::error::Error`
which is required by `std::string::String: thiserror::aserror::AsDynError`
`str: std::marker::Sized`
which is required by `str: thiserror::aserror::AsDynError`
`str: std::error::Error`
which is required by `str: thiserror::aserror::AsDynError`