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

10 lines
156 B
Rust

use thiserror::Error;
#[derive(Debug)]
struct NotError;
#[derive(Error, Debug)]
#[error("...")]
pub struct ErrorStruct(#[source] NotError);
fn main() {}