summaryrefslogtreecommitdiffstats
path: root/third_party/rust/thiserror/tests/ui/transparent-enum-not-error.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/thiserror/tests/ui/transparent-enum-not-error.stderr')
-rw-r--r--third_party/rust/thiserror/tests/ui/transparent-enum-not-error.stderr5
1 files changed, 1 insertions, 4 deletions
diff --git a/third_party/rust/thiserror/tests/ui/transparent-enum-not-error.stderr b/third_party/rust/thiserror/tests/ui/transparent-enum-not-error.stderr
index 9be51434a6..bb836d4e8d 100644
--- a/third_party/rust/thiserror/tests/ui/transparent-enum-not-error.stderr
+++ b/third_party/rust/thiserror/tests/ui/transparent-enum-not-error.stderr
@@ -7,10 +7,7 @@ error[E0599]: the method `as_dyn_error` exists for reference `&String`, but its
::: $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`