]> git.lizzy.rs Git - rust.git/blob - tests/ui/generics/generic-newtype-struct.rs
Rollup merge of #107331 - GuillaumeGomez:cleanup-js, r=notriddle
[rust.git] / tests / ui / generics / generic-newtype-struct.rs
1 // run-pass
2 // pretty-expanded FIXME #23616
3
4 struct S<T>(#[allow(unused_tuple_struct_fields)] T);
5
6 pub fn main() {
7     let _s = S(2);
8 }