forked from gentoo-utils/gentoo-utils
git-subtree-dir: subprojects/thiserror git-subtree-split: 247eab5d79e27ad28859afdf8bc600a4242829b7
15 lines
251 B
Rust
15 lines
251 B
Rust
use core::fmt::{self, Display};
|
|
use thiserror::Error;
|
|
|
|
#[derive(Error, Debug)]
|
|
#[error]
|
|
pub struct MyError;
|
|
|
|
impl Display for MyError {
|
|
fn fmt(&self, _formatter: &mut fmt::Formatter) -> fmt::Result {
|
|
unimplemented!()
|
|
}
|
|
}
|
|
|
|
fn main() {}
|