rust/tests/ui/issues/issue-5315.rs
2024-02-16 20:02:50 +00:00

9 lines
130 B
Rust

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