thiserror/tests/ui/source-struct-not-error.stderr
2020-01-11 16:33:19 -08:00

9 lines
443 B
Text

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`