aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/source-struct-not-error.rs
blob: d59df1eef8fc126e300442afc2c1a6433b0adf26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
use thiserror::Error;

#[derive(Debug)]
struct NotError;

#[derive(Error, Debug)]
#[error("...")]
pub struct ErrorStruct {
    source: NotError,
}

fn main() {}