]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-5315.rs
Rollup merge of #106896 - Ezrashaw:str-cast-bool-emptyness, r=compiler-errors
[rust.git] / tests / ui / issues / issue-5315.rs
1 // run-pass
2 // pretty-expanded FIXME #23616
3
4 struct A(#[allow(unused_tuple_struct_fields)] bool);
5
6 pub fn main() {
7     let f = A;
8     f(true);
9 }