]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/fn-or-tuple-struct-with-underscore-args.stderr
Rollup merge of #106751 - clubby789:const-intrinsic, r=GuillaumeGomez
[rust.git] / tests / ui / suggestions / fn-or-tuple-struct-with-underscore-args.stderr
1 error: 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    |
4 LL |     let _: usize = foo(_, _);
5    |                        ^ `_` not allowed here
6
7 error: 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    |
10 LL |     let _: usize = foo(_, _);
11    |                           ^ `_` not allowed here
12
13 error: 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    |
16 LL |     let _: S = S(_, _);
17    |                  ^ `_` not allowed here
18
19 error: 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    |
22 LL |     let _: S = S(_, _);
23    |                     ^ `_` not allowed here
24
25 error: 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    |
28 LL |     let _: usize = T::baz(_, _);
29    |                           ^ `_` not allowed here
30
31 error: 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    |
34 LL |     let _: usize = T::baz(_, _);
35    |                              ^ `_` not allowed here
36
37 error: aborting due to 6 previous errors
38