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

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

fn main() {}