rust/src/test/ui/attempted-access-non-fatal.stderr

16 lines
624 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
2018-12-25 09:56:47 -06:00
--> $DIR/attempted-access-non-fatal.rs:4:15
2018-08-08 07:28:26 -05:00
|
LL | let _ = x.foo; //~ `{integer}` is a primitive type and therefore doesn't have fields [E0610]
| ^^^
error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
2018-12-25 09:56:47 -06:00
--> $DIR/attempted-access-non-fatal.rs:5:15
2018-08-08 07:28:26 -05:00
|
LL | let _ = x.bar; //~ `{integer}` is a primitive type and therefore doesn't have fields [E0610]
| ^^^
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0610`.