```
error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
--> $DIR/attempted-access-non-fatal.rs:7:15
|
LL | let _ = 2.l;
| ^
|
help: if intended to be a floating point literal, consider adding a `0` after the period and a `f64` suffix
|
LL - let _ = 2.l;
LL + let _ = 2.0f64;
|
```
24 lines
704 B
Plaintext
24 lines
704 B
Plaintext
error[E0609]: no field `00` on type `Verdict`
|
|
--> $DIR/issue-47073-zero-padded-tuple-struct-indices.rs:8:30
|
|
|
|
|
LL | let _condemned = justice.00;
|
|
| ^^ unknown field
|
|
|
|
|
help: a field with a similar name exists
|
|
|
|
|
LL - let _condemned = justice.00;
|
|
LL + let _condemned = justice.0;
|
|
|
|
|
|
|
error[E0609]: no field `001` on type `Verdict`
|
|
--> $DIR/issue-47073-zero-padded-tuple-struct-indices.rs:10:31
|
|
|
|
|
LL | let _punishment = justice.001;
|
|
| ^^^ unknown field
|
|
|
|
|
= note: available fields are: `0`, `1`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0609`.
|