Home
last modified time | relevance | path

Searched refs:NotError (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/thiserror/tests/ui/
Dsource-enum-not-error.stderr1 error[E0599]: the method `as_dyn_error` exists for reference `&NotError`, but its trait bounds were…
4 4 | pub struct NotError;
7 | doesn't satisfy `NotError: AsDynError`
8 | doesn't satisfy `NotError: std::error::Error`
10 10 | source: NotError,
11 | ^^^^^^ method cannot be called on `&NotError` due to unsatisfied trait bounds
14 `NotError: std::error::Error`
15 which is required by `NotError: AsDynError`
16 `&NotError: std::error::Error`
17 which is required by `&NotError: AsDynError`
Dsource-struct-not-error.stderr1 error[E0599]: the method `as_dyn_error` exists for struct `NotError`, but its trait bounds were not…
4 4 | struct NotError;
8 | doesn't satisfy `NotError: AsDynError`
9 | doesn't satisfy `NotError: std::error::Error`
11 9 | source: NotError,
12 | ^^^^^^ method cannot be called on `NotError` due to unsatisfied trait bounds
15 `NotError: std::error::Error`
16 which is required by `NotError: AsDynError`
Dsource-struct-not-error.rs4 struct NotError; struct
9 source: NotError,
Dsource-enum-not-error.rs4 pub struct NotError; struct
10 source: NotError,