summaryrefslogtreecommitdiff
path: root/vendor/thiserror/tests/ui/from-not-source.rs
blob: ad7286706fd5583312e530e32ae147baa5651c96 (plain)
1
2
3
4
5
6
7
8
9
10
11
use thiserror::Error;

#[derive(Error, Debug)]
pub struct Error {
    #[source]
    source: std::io::Error,
    #[from]
    other: anyhow::Error,
}

fn main() {}