]> git.proxmox.com Git - rustc.git/blame - src/test/ui/block-result/issue-5500.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / block-result / issue-5500.stderr
CommitLineData
041b39d2 1error[E0308]: mismatched types
0731742a 2 --> $DIR/issue-5500.rs:2:5
041b39d2 3 |
0531ce1d 4LL | fn main() {
3b2f2976 5 | - expected `()` because of default return type
0531ce1d 6LL | &panic!()
94222f64 7 | ^^^^^^^^^ expected `()`, found reference
041b39d2 8 |
60c5eb7d
XL
9 = note: expected unit type `()`
10 found reference `&_`
94222f64
XL
11help: consider removing the borrow
12 |
13LL - &panic!()
14LL + panic!()
923072b8 15 |
041b39d2
XL
16
17error: aborting due to previous error
18
0531ce1d 19For more information about this error, try `rustc --explain E0308`.