Files
cli/vendor/thiserror-1.0.69/tests/ui/source-struct-unnamed-field-not-error.rs

11 lines
156 B
Rust
Raw Normal View History

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