Debian Codegraph @

debian/rust-vendor/displaydoc/tests/ui/multiple.rs

raw
1 use displaydoc::Display;
2
3 /// this type is pretty swell
4 #[derive(Display)]
5 struct FakeType;
6
7 static_assertions::assert_impl_all!(FakeType: core::fmt::Display);
8
9 /// this type is pretty swell2
10 #[derive(Display)]
11 struct FakeType2;
12
13 static_assertions::assert_impl_all!(FakeType2: core::fmt::Display);
14
15 fn main() {}