Vendor asic-rs 0.8.1 (280 crates, offline builds) + wxWidgets 3.3.3 (pristine + patch queue); UI spec + ADR-0003; M1 on asic-rs
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
error[E0599]: the method `as_dyn_error` exists for struct `String`, but its trait bounds were not satisfied
|
||||
--> tests/ui/transparent-struct-not-error.rs:4:9
|
||||
|
|
||||
4 | #[error(transparent)]
|
||||
| ^^^^^^^^^^^ method cannot be called on `String` due to unsatisfied trait bounds
|
||||
|
|
||||
::: $RUST/alloc/src/string.rs
|
||||
|
|
||||
| pub struct String {
|
||||
| ----------------- doesn't satisfy `String: std::error::Error` or `String: thiserror::__private19::AsDynError<'_>`
|
||||
|
|
||||
= note: the following trait bounds were not satisfied:
|
||||
`String: std::error::Error`
|
||||
which is required by `String: thiserror::__private19::AsDynError<'_>`
|
||||
`str: Sized`
|
||||
which is required by `str: thiserror::__private19::AsDynError<'_>`
|
||||
`str: std::error::Error`
|
||||
which is required by `str: thiserror::__private19::AsDynError<'_>`
|
||||
Reference in New Issue
Block a user