fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.4 KiB38 linesraw
1error: in expressions, `_` can only be used on the left-hand side of an assignment
2  --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:10:24
3   |
4LL |     let _: usize = foo(_, _);
5   |                        ^ `_` not allowed here
6
7error: in expressions, `_` can only be used on the left-hand side of an assignment
8  --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:10:27
9   |
10LL |     let _: usize = foo(_, _);
11   |                           ^ `_` not allowed here
12
13error: in expressions, `_` can only be used on the left-hand side of an assignment
14  --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:13:18
15   |
16LL |     let _: S = S(_, _);
17   |                  ^ `_` not allowed here
18
19error: in expressions, `_` can only be used on the left-hand side of an assignment
20  --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:13:21
21   |
22LL |     let _: S = S(_, _);
23   |                     ^ `_` not allowed here
24
25error: in expressions, `_` can only be used on the left-hand side of an assignment
26  --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:16:27
27   |
28LL |     let _: usize = T::baz(_, _);
29   |                           ^ `_` not allowed here
30
31error: in expressions, `_` can only be used on the left-hand side of an assignment
32  --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:16:30
33   |
34LL |     let _: usize = T::baz(_, _);
35   |                              ^ `_` not allowed here
36
37error: aborting due to 6 previous errors
38