]> git.lizzy.rs Git - rust.git/blob - src/test/ui/or-patterns/consistent-bindings.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / or-patterns / consistent-bindings.stderr
1 warning: the feature `or_patterns` is incomplete and may cause the compiler to crash
2   --> $DIR/consistent-bindings.rs:5:12
3    |
4 LL | #![feature(or_patterns)]
5    |            ^^^^^^^^^^^
6    |
7    = note: `#[warn(incomplete_features)]` on by default
8
9 error[E0308]: mismatched types
10   --> $DIR/consistent-bindings.rs:44:9
11    |
12 LL |     let () = 0;
13    |         ^^ expected integer, found ()
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0308`.