fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
498 B17 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
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0308`.