]> git.lizzy.rs Git - rust.git/blob - src/test/ui/attributes/unnamed-field-attributes-dup.rs
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / attributes / unnamed-field-attributes-dup.rs
1 // Duplicate non-builtin attributes can be used on unnamed fields.
2
3 // check-pass
4
5 struct S (
6     #[rustfmt::skip]
7     #[rustfmt::skip]
8     u8
9 );
10
11 fn main() {}