summary refs log tree commit diff
path: root/src/test/ui/or-patterns/consistent-bindings.stderr
blob: 7f5e670c257ce1673d60e04b7d7d7f63ef2376db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
warning: the feature `or_patterns` is incomplete and may cause the compiler to crash
  --> $DIR/consistent-bindings.rs:5:12
   |
LL | #![feature(or_patterns)]
   |            ^^^^^^^^^^^
   |
   = note: `#[warn(incomplete_features)]` on by default

error[E0308]: mismatched types
  --> $DIR/consistent-bindings.rs:44:9
   |
LL |     let () = 0;
   |         ^^ expected integer, found ()
   |
   = note: expected type `{integer}`
              found type `()`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.