mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-30 03:57:37 +00:00
![]() ``` 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; | ``` |
||
---|---|---|
.. | ||
attrs | ||
bad-if-let-suggestion.rs | ||
bad-if-let-suggestion.stderr | ||
expr-if-panic-fn.rs | ||
expr-if-panic-pass.rs | ||
expr-if-panic.rs | ||
expr-if.rs | ||
if-branch-types.rs | ||
if-branch-types.stderr | ||
if-check-panic.rs | ||
if-check.rs | ||
if-cond-bot.rs | ||
if-else-chain-missing-else.rs | ||
if-else-chain-missing-else.stderr | ||
if-else-type-mismatch.rs | ||
if-else-type-mismatch.stderr | ||
if-let-arm-types.rs | ||
if-let-arm-types.stderr | ||
if-let-no-match-guards-issue-41272.rs | ||
if-let.rs | ||
if-let.stderr | ||
if-loop.rs | ||
if-no-match-bindings.rs | ||
if-no-match-bindings.stderr | ||
if-ret.rs | ||
if-ret.stderr | ||
if-typeck.rs | ||
if-typeck.stderr | ||
if-without-block.rs | ||
if-without-block.stderr | ||
if-without-else-as-fn-expr.rs | ||
if-without-else-as-fn-expr.stderr | ||
if-without-else-result.rs | ||
if-without-else-result.stderr | ||
issue-4201.rs | ||
issue-4201.stderr |