blob: b66f2786760f075dbe98fdd25e38c063edb2ab61 [file] [log] [blame]
error[E0599]: no method named `as_dyn_error` found for type `std::string::String` in the current scope
--> $DIR/source-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`
error[E0599]: no method named `as_dyn_error` found for type `&std::string::String` in the current scope
--> $DIR/source-not-error.rs:13:9
|
13 | 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`