]> git.proxmox.com Git - rustc.git/blob - tests/ui/block-result/issue-5500.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / block-result / issue-5500.rs
1 fn main() {
2 &panic!()
3 //~^ ERROR mismatched types
4 //~| expected unit type `()`
5 //~| found reference `&_`
6 //~| expected `()`, found reference
7 }