2017-03-18 12:24:42 -04:00
|
|
|
fn main() {
|
2017-02-04 13:09:04 +08:00
|
|
|
&panic!()
|
2017-03-18 12:24:42 -04:00
|
|
|
//~^ ERROR mismatched types
|
2019-11-14 14:08:08 -08:00
|
|
|
//~| expected unit type `()`
|
2019-11-13 14:16:56 -08:00
|
|
|
//~| found reference `&_`
|
2023-01-02 18:00:33 -08:00
|
|
|
//~| expected `()`, found `&_`
|
2017-02-04 13:09:04 +08:00
|
|
|
}
|