summaryrefslogtreecommitdiffstats
path: root/third_party/rust/thiserror/tests/ui/unexpected-field-fmt.rs
blob: 7c439d941f1d4fa5fa749504d3e484f7a69da65b (plain)
1
2
3
4
5
6
7
8
9
10
11
use thiserror::Error;

#[derive(Error, Debug)]
pub enum Error {
    What {
        #[error("...")]
        io: std::io::Error,
    },
}

fn main() {}