fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
568 B20 linesraw
1warning: the feature `or_patterns` is incomplete and may cause the compiler to crash
2  --> $DIR/consistent-bindings.rs:5:12
3   |
4LL | #![feature(or_patterns)]
5   |            ^^^^^^^^^^^
6   |
7   = note: `#[warn(incomplete_features)]` on by default
8
9error[E0308]: mismatched types
10  --> $DIR/consistent-bindings.rs:44:9
11   |
12LL |     let () = 0;
13   |         ^^ expected integer, found ()
14   |
15   = note: expected type `{integer}`
16              found type `()`
17
18error: aborting due to previous error
19
20For more information about this error, try `rustc --explain E0308`.