summaryrefslogtreecommitdiffstats
path: root/tests/ui/block-result/issue-5500.rs
blob: de7fd39a20caa1952b37828d1580c1d4129e490a (plain)
1
2
3
4
5
6
7
fn main() {
    &panic!()
    //~^ ERROR mismatched types
    //~| expected unit type `()`
    //~| found reference `&_`
    //~| expected `()`, found `&_`
}