summaryrefslogtreecommitdiffstats
path: root/vendor/thiserror/tests/ui/source-enum-not-error.rs
blob: 3eb0d3e866e755ad502ce049b57ef9c5c4a27d62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use thiserror::Error;

#[derive(Debug)]
pub struct NotError;

#[derive(Error, Debug)]
#[error("...")]
pub enum ErrorEnum {
    Broken {
        source: NotError,
    },
}

fn main() {}