rust/tests/ui/issues/issue-5315.rs
2023-01-11 09:32:08 +00:00

10 lines
145 B
Rust

// run-pass
// pretty-expanded FIXME #23616
struct A(#[allow(unused_tuple_struct_fields)] bool);
pub fn main() {
let f = A;
f(true);
}