]> git.proxmox.com Git - rustc.git/blame - vendor/thiserror/tests/ui/no-display.rs
New upstream version 1.52.1+dfsg1
[rustc.git] / vendor / thiserror / tests / ui / no-display.rs
CommitLineData
f20569fa
XL
1use thiserror::Error;
2
3#[derive(Debug)]
4struct NoDisplay;
5
6#[derive(Error, Debug)]
7#[error("thread: {thread}")]
8pub struct Error {
9 thread: NoDisplay,
10}
11
12fn main() {}