summaryrefslogtreecommitdiff
path: root/subprojects/thiserror/tests/ui/struct-with-fmt.rs
blob: 73bf79fa28241d37d24c157753d9392483f0da81 (plain)
1
2
3
4
5
6
7
use thiserror::Error;

#[derive(Error, Debug)]
#[error(fmt = core::fmt::Octal::fmt)]
pub struct Error(i32);

fn main() {}