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
Jason Newcomb
4718cb40ec
When displaying a parameter mismatch error, only highlight the mismatched parameters when showing the definition.
2025-02-05 10:36:32 -05:00
long-long-float
332b41dbce
Use ordinal number in argument error
...
Fix error message
Fix tests
Format
2024-07-14 13:50:09 +09:00
Esteban Küber
dff10d0668
Re-add replacement logic and add comment explaining it
2023-02-14 20:22:10 +00:00
Esteban Küber
755252bf51
Show the effects of weird code commented out
2023-02-14 20:22:10 +00:00
Esteban Küber
5d63e10318
rebase and review comments
2023-02-14 20:22:10 +00:00
Esteban Küber
f02d8ec15e
More accurate spans for arg removal suggestion
2023-02-14 20:22:09 +00:00
Esteban Küber
62ba3e70a1
Modify primary span label for E0308
...
The previous output was unintuitive to users.
2023-01-30 20:12:19 +00:00
Albert Larsan
cf2dff2b1e
Move /src/test to /tests
2023-01-11 09:32:08 +00:00