mirror of
https://github.com/dtolnay/thiserror.git
synced 2025-04-04 21:37:57 +03:00
23 lines
448 B
Rust
23 lines
448 B
Rust
use thiserror::Error;
|
|
|
|
#[derive(Error, Debug)]
|
|
#[error("...")]
|
|
#[error("...")]
|
|
pub struct Error;
|
|
|
|
#[derive(Error, Debug)]
|
|
#[error(fmt = core::fmt::Octal::fmt)]
|
|
#[error(fmt = core::fmt::LowerHex::fmt)]
|
|
pub enum FmtFmt {}
|
|
|
|
#[derive(Error, Debug)]
|
|
#[error(fmt = core::fmt::Octal::fmt)]
|
|
#[error(transparent)]
|
|
pub enum FmtTransparent {}
|
|
|
|
#[derive(Error, Debug)]
|
|
#[error(fmt = core::fmt::Octal::fmt)]
|
|
#[error("...")]
|
|
pub enum FmtDisplay {}
|
|
|
|
fn main() {}
|