summaryrefslogtreecommitdiffstats
path: root/vendor/thiserror/tests/ui/no-display.rs
blob: 181a66e02c4d02dc8d2da8bc1edf64451ab14f3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
use thiserror::Error;

#[derive(Debug)]
struct NoDisplay;

#[derive(Error, Debug)]
#[error("thread: {thread}")]
pub struct Error {
    thread: NoDisplay,
}

fn main() {}