fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1warning: unreachable expression 2 --> $DIR/try-block-unreachable-code-lint.rs:41:9 3 | 4LL | return; 5 | ------ any code following this expression is unreachable 6LL | 7LL | / try { 8LL | | loop { 9LL | | err()?; 10LL | | } 11LL | | } 12 | |_________^ unreachable expression 13 | 14note: lint level defined here 15 --> $DIR/try-block-unreachable-code-lint.rs:6:9 16 | 17LL | #![warn(unreachable_code)] 18 | ^^^^^^^^^^^^^^^^ 19 20warning: unreachable call 21 --> $DIR/try-block-unreachable-code-lint.rs:52:9 22 | 23LL | Err(return) 24 | ^^^ ------ any code following this expression is unreachable 25 | | 26 | unreachable call 27 28warning: unreachable expression 29 --> $DIR/try-block-unreachable-code-lint.rs:63:9 30 | 31LL | / loop { 32LL | | err()?; 33LL | | } 34 | |_________- any code following this expression is unreachable 35LL | 36LL | 42 37 | ^^ unreachable expression 38