]> git.lizzy.rs Git - rust.git/blob - src/test/ui/attempted-access-non-fatal.stderr
Rollup merge of #57042 - pnkfelix:issue-57038-sidestep-ice-in-fieldplacement-count...
[rust.git] / src / test / ui / attempted-access-non-fatal.stderr
1 error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
2   --> $DIR/attempted-access-non-fatal.rs:4:15
3    |
4 LL |     let _ = x.foo; //~ `{integer}` is a primitive type and therefore doesn't have fields [E0610]
5    |               ^^^
6
7 error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
8   --> $DIR/attempted-access-non-fatal.rs:5:15
9    |
10 LL |     let _ = x.bar; //~ `{integer}` is a primitive type and therefore doesn't have fields [E0610]
11    |               ^^^
12
13 error: aborting due to 2 previous errors
14
15 For more information about this error, try `rustc --explain E0610`.