oden/third-party/vendor/thiserror/tests/ui/from-not-source.rs
2024-03-08 11:03:01 -08:00

11 lines
162 B
Rust

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