]> git.proxmox.com Git - rustc.git/blob - vendor/thiserror/tests/ui/source-struct-not-error.stderr
New upstream version 1.54.0+dfsg1
[rustc.git] / vendor / thiserror / tests / ui / source-struct-not-error.stderr
1 error[E0599]: no method named `as_dyn_error` found for struct `std::string::String` in the current scope
2 --> $DIR/source-struct-not-error.rs:6:5
3 |
4 6 | source: String,
5 | ^^^^^^ method not found in `std::string::String`
6 |
7 = note: the method `as_dyn_error` exists but the following trait bounds were not satisfied:
8 `std::string::String: std::error::Error`
9 which is required by `std::string::String: thiserror::aserror::AsDynError`
10 `str: std::marker::Sized`
11 which is required by `str: thiserror::aserror::AsDynError`
12 `str: std::error::Error`
13 which is required by `str: thiserror::aserror::AsDynError`