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

13 lines
172 B
Rust
Raw Normal View History

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