```
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;
|
```
21 lines
539 B
Plaintext
21 lines
539 B
Plaintext
error: invalid `?` in type
|
|
--> $DIR/issue-84148-1.rs:1:14
|
|
|
|
|
LL | fn f(t:for<>t?)
|
|
| ^ `?` is only allowed on expressions, not types
|
|
|
|
|
help: if you meant to express that the type might not contain a value, use the `Option` wrapper type
|
|
|
|
|
LL - fn f(t:for<>t?)
|
|
LL + fn f(t:Option<for<>t>)
|
|
|
|
|
|
|
error: expected one of `->`, `where`, or `{`, found `<eof>`
|
|
--> $DIR/issue-84148-1.rs:1:15
|
|
|
|
|
LL | fn f(t:for<>t?)
|
|
| ^ expected one of `->`, `where`, or `{`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|