]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/struct-field-type-including-single-colon.stderr
Merge commit 'd0cf3481a84e3aa68c2f185c460e282af36ebc42' into clippyup
[rust.git] / src / test / ui / suggestions / struct-field-type-including-single-colon.stderr
1 error: found single colon in a struct field type path
2   --> $DIR/struct-field-type-including-single-colon.rs:9:11
3    |
4 LL |     a: foo:A,
5    |           ^
6    |
7 help: write a path separator here
8    |
9 LL |     a: foo::A,
10    |           ~~
11
12 error: expected `,`, or `}`, found `:`
13   --> $DIR/struct-field-type-including-single-colon.rs:9:11
14    |
15 LL |     a: foo:A,
16    |           ^
17
18 error: found single colon in a struct field type path
19   --> $DIR/struct-field-type-including-single-colon.rs:15:16
20    |
21 LL |     b: foo::bar:B,
22    |                ^
23    |
24 help: write a path separator here
25    |
26 LL |     b: foo::bar::B,
27    |                ~~
28
29 error: expected `,`, or `}`, found `:`
30   --> $DIR/struct-field-type-including-single-colon.rs:15:16
31    |
32 LL |     b: foo::bar:B,
33    |                ^
34
35 error: aborting due to 4 previous errors
36