diff options
Diffstat (limited to 'third_party/rust/thiserror/tests/ui/transparent-struct-unnamed-field-not-error.stderr')
-rw-r--r-- | third_party/rust/thiserror/tests/ui/transparent-struct-unnamed-field-not-error.stderr | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/third_party/rust/thiserror/tests/ui/transparent-struct-unnamed-field-not-error.stderr b/third_party/rust/thiserror/tests/ui/transparent-struct-unnamed-field-not-error.stderr index f715a15175..c3d6c0023d 100644 --- a/third_party/rust/thiserror/tests/ui/transparent-struct-unnamed-field-not-error.stderr +++ b/third_party/rust/thiserror/tests/ui/transparent-struct-unnamed-field-not-error.stderr @@ -7,10 +7,7 @@ error[E0599]: the method `as_dyn_error` exists for struct `String`, but its trai ::: $RUST/alloc/src/string.rs | | pub struct String { - | ----------------- - | | - | doesn't satisfy `String: AsDynError<'_>` - | doesn't satisfy `String: std::error::Error` + | ----------------- doesn't satisfy `String: AsDynError<'_>` or `String: std::error::Error` | = note: the following trait bounds were not satisfied: `String: std::error::Error` |