fparkan/vendor/thiserror/tests/ui/source-struct-not-error.rs

13 lines
161 B
Rust
Raw Normal View History

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