]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pattern/usefulness/floats.stderr
Rollup merge of #79293 - Havvy:test-eval-order-compound-assign, r=Mark-Simulacrum
[rust.git] / src / test / ui / pattern / usefulness / floats.stderr
1 error[E0004]: non-exhaustive patterns: `_` not covered
2   --> $DIR/floats.rs:10:11
3    |
4 LL |     match 0.0 {
5    |           ^^^ pattern `_` not covered
6    |
7    = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms
8    = note: the matched value is of type `f64`
9
10 error: unreachable pattern
11   --> $DIR/floats.rs:16:7
12    |
13 LL |       0.02f64 => {}
14    |       ^^^^^^^
15    |
16 note: the lint level is defined here
17   --> $DIR/floats.rs:2:9
18    |
19 LL | #![deny(unreachable_patterns)]
20    |         ^^^^^^^^^^^^^^^^^^^^
21
22 error: aborting due to 2 previous errors
23
24 For more information about this error, try `rustc --explain E0004`.