rust/tests/ui/issues/issue-5315.rs

9 lines
128 B
Rust

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