File: unreachable.stderr

package info (click to toggle)
rust-async-trait 0.1.83-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 348 kB
  • sloc: makefile: 2
file content (14 lines) | stat: -rw-r--r-- 469 bytes parent folder | download | duplicates (34)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: unreachable statement
  --> tests/ui/unreachable.rs:16:9
   |
15 |         let _y = unimplemented!();
   |                  ---------------- any code following this expression is unreachable
16 |         let _z = _y;
   |         ^^^^^^^^^^^^ unreachable statement
   |
note: the lint level is defined here
  --> tests/ui/unreachable.rs:1:9
   |
1  | #![deny(warnings)]
   |         ^^^^^^^^
   = note: `#[deny(unreachable_code)]` implied by `#[deny(warnings)]`