]> git.lizzy.rs Git - rust.git/blob - src/test/ui/block-result/issue-5500.rs
Merge commit '9a0c32934ebe376128230aa8da3275697b2053e7' into sync_cg_clif-2021-03-05
[rust.git] / src / test / 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 }