1 use thiserror::Error;
2 
3 #[derive(Debug)]
4 struct NoDisplay;
5 
6 #[derive(Error, Debug)]
7 #[error("thread: {thread}")]
8 pub struct Error {
9     thread: NoDisplay,
10 }
11 
12 fn main() {}
13