]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/lint/unused_braces_borrow.rs
2 #![warn(unused_braces)]
4 // changing `&{ expr }` to `&expr` changes the semantic of the program
5 // so we should not warn this case
13 fn consume
<T
>(_
: T
) {}
23 //~^ WARN unnecessary braces