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