blob: 01b2e1009ee0c5507e2cf6c0d41df7c8a877f003 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
error: unreachable expression
--> $DIR/expr_repeat.rs:20:25
|
20 | let x: [usize; 2] = [return; 2];
| ^^^^^^^^^^^
|
note: lint level defined here
--> $DIR/expr_repeat.rs:14:9
|
14 | #![deny(unreachable_code)]
| ^^^^^^^^^^^^^^^^
error: aborting due to previous error(s)
|