rustc/vendor/thiserror/tests/ui/source-enum-not-error.rs
2022-03-29 13:22:26 +01:00

15 lines
185 B
Rust

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