diff options
| author | bors <bors@rust-lang.org> | 2025-02-11 02:35:06 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-02-11 02:35:06 +0000 |
| commit | ffa9afef183a3496a277c8da2e61403582a99508 (patch) | |
| tree | bf1e5eab83cd6cd41a8e671f4d8b95a6893dca90 /library/std/src | |
| parent | 6171d944aea415a3023d4262e0895aa3b18c771f (diff) | |
| parent | f0845adb0c1b7a7fa1bef73e749b2d7e1d7f374d (diff) | |
| download | rust-ffa9afef183a3496a277c8da2e61403582a99508.tar.gz rust-ffa9afef183a3496a277c8da2e61403582a99508.zip | |
Auto merge of #127541 - estebank:diff-suggestions, r=petrochenkov
Show diff suggestion format on verbose replacement
```
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;
|
```
before:
```
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.0f64;
| ~~~~
```
r? `@oli-obk`
Diffstat (limited to 'library/std/src')
0 files changed, 0 insertions, 0 deletions
