1error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
2  --> $DIR/attempted-access-non-fatal.rs:4:15
3   |
4LL |     let _ = x.foo;
5   |               ^^^
6
7error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
8  --> $DIR/attempted-access-non-fatal.rs:5:15
9   |
10LL |     let _ = x.bar;
11   |               ^^^
12
13error: aborting due to 2 previous errors
14
15For more information about this error, try `rustc --explain E0610`.
16