Debian Codegraph @

.cargo/vendor/thiserror-1.0.59/tests/ui/missing-display.stderr

raw
1 error[E0277]: `MyError` doesn't implement `std::fmt::Display`
2 --> tests/ui/missing-display.rs:4:10
3 |
4 4 | pub enum MyError {
5 | ^^^^^^^ `MyError` cannot be formatted with the default formatter
6 |
7 = help: the trait `std::fmt::Display` is not implemented for `MyError`
8 = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead
9 note: required by a bound in `std::error::Error`
10 --> $RUST/core/src/error.rs
11 |
12 | pub trait Error: Debug + Display {
13 | ^^^^^^^ required by this bound in `Error`