]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/lint/issue-89469.rs
1 // Regression test for #89469, where an extra non_snake_case warning was
2 // reported for a shorthand field binding.
5 #![deny(non_snake_case)]
7 #[allow(non_snake_case)]
13 fn foo() -> Entry {todo!()}
16 let Entry { A, a }
= foo();