Debian Codegraph @

.cargo/vendor/thiserror/tests/ui/from-not-source.rs

raw
1 use thiserror::Error;
2
3 #[derive(Error, Debug)]
4 pub struct Error {
5 #[source]
6 source: std::io::Error,
7 #[from]
8 other: anyhow::Error,
9 }
10
11 fn main() {}