]> git.proxmox.com Git - rustc.git/blob - src/test/ui/obsolete-in-place/bad.bad.stderr
New upstream version 1.37.0+dfsg1
[rustc.git] / src / test / ui / obsolete-in-place / bad.bad.stderr
1 error: expected expression, found keyword `in`
2 --> $DIR/bad.rs:10:5
3 |
4 LL | in(foo) { bar };
5 | ^^ expected expression
6
7 error[E0282]: type annotations needed
8 --> $DIR/bad.rs:9:8
9 |
10 LL | let (x, y, foo, bar);
11 | ---------------- consider giving the pattern a type
12 LL | x <- y;
13 | ^^^ cannot infer type
14 |
15 = note: type must be known at this point
16
17 error: aborting due to 2 previous errors
18
19 For more information about this error, try `rustc --explain E0282`.