Esteban Küber
f0845adb0c
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;
|
```
2025-02-10 20:21:39 +00:00
Michael Goulet
6a3474e653
Use if-let in structured suggestion instead of Option::map
2024-12-31 02:21:17 +00:00
Michael Goulet
b994124778
Explain how to mutate a HashMap/BTreeMap with more nuance
2024-12-31 01:20:53 +00:00
Michael Goulet
91acacf85b
Peel off explicit (or implicit) deref before suggesting clone on move error in borrowck
2024-07-26 14:41:56 -04:00
Esteban Küber
bce78102c3
Account for unops when suggesting cloning
2024-04-11 16:41:41 +00:00
Esteban Küber
fa2fc3ab96
Suggest .clone() when moved while borrowed
2024-04-11 16:41:41 +00:00
许杰友 Jieyou Xu (Joe)
ec2cc761bc
[AUTO-GENERATED] Migrate ui tests from // to //@ directives
2024-02-16 20:02:50 +00:00
Nilstrieb
41e8d152dc
Show number in error message even for one error
...
Co-authored-by: Adrian <adrian.iosdev@gmail.com >
2023-11-24 19:15:52 +01:00
yukang
3ddf6f7c17
use maybe_body_owned_by for closure
2023-07-14 07:12:35 +08:00
Esteban Küber
656db98bd9
Tweak E0597
...
CC #99430
2023-01-15 19:46:20 +00:00
Albert Larsan
cf2dff2b1e
Move /src/test to /tests
2023-01-11 09:32:08 +00:00