Files
2026-08-01 16:11:49 +03:00

16 lines
289 B
Rust

use displaydoc::Display;
/// this type is pretty swell
#[derive(Display)]
#[prefix_enum_doc_attributes]
enum TestType {
/// this variant is too
Variant1,
/// this variant is two
Variant2,
}
static_assertions::assert_impl_all!(TestType: core::fmt::Display);
fn main() {}