]> git.lizzy.rs Git - rust.git/blob - tests/ui/block-result/issue-5500.rs
Rollup merge of #104672 - Voultapher:unify-sort-modules, r=thomcc
[rust.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 }