thiserror 1.0.13

derive(Error)
Documentation
1
2
3
4
5
6
7
8
9
error[E0599]: no method named `as_display` found for reference `&std::thread::Thread` in the current scope
    --> $DIR/no-display.rs:5:9
     |
5    |   #[error("thread: {thread}")]
     |           ^^^^^^^^^^^^^^^^^^ method not found in `&std::thread::Thread`
     |
     = note: the method `as_display` exists but the following trait bounds were not satisfied:
             `std::thread::Thread: std::fmt::Display`
             which is required by `&std::thread::Thread: thiserror::display::DisplayAsDisplay`