]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/fn-or-tuple-struct-with-underscore-args.stderr
a6d1c4b859f2f73611763a074a60c07e72de991f
[rust.git] / src / test / ui / suggestions / fn-or-tuple-struct-with-underscore-args.stderr
1 error: expected expression, found reserved identifier `_`
2   --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:10:24
3    |
4 LL |     let _: usize = foo(_, _);
5    |                        ^ expected expression
6
7 error: expected expression, found reserved identifier `_`
8   --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:10:27
9    |
10 LL |     let _: usize = foo(_, _);
11    |                           ^ expected expression
12
13 error: expected expression, found reserved identifier `_`
14   --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:13:18
15    |
16 LL |     let _: S = S(_, _);
17    |                  ^ expected expression
18
19 error: expected expression, found reserved identifier `_`
20   --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:13:21
21    |
22 LL |     let _: S = S(_, _);
23    |                     ^ expected expression
24
25 error: expected expression, found reserved identifier `_`
26   --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:16:27
27    |
28 LL |     let _: usize = T::baz(_, _);
29    |                           ^ expected expression
30
31 error: expected expression, found reserved identifier `_`
32   --> $DIR/fn-or-tuple-struct-with-underscore-args.rs:16:30
33    |
34 LL |     let _: usize = T::baz(_, _);
35    |                              ^ expected expression
36
37 error: aborting due to 6 previous errors
38