Karol Zwolak
d14b83e378
bless tests with new lint messages
2025-08-19 21:27:10 +02:00
dianne
41e6f767b6
future-incompat lints: don't link to the nightly edition-guide version
2025-07-16 01:44:02 -07:00
yuk1ty
bffb7608ce
Fix error message for static references or mutable references
2025-04-26 14:48:30 +09:00
Michael Goulet
0a7ab1d6df
More sophisticated span trimming
2025-02-21 00:41:17 +00:00
Michael Goulet
6d71251cf9
Trim suggestion parts to the subset that is purely additive
2025-02-14 00:44:10 -08:00
Michael Goulet
b480a9214a
Use underline suggestions for purely 'additive' replacements
2025-02-14 00:27:13 -08:00
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
Eric Huss
6005d1c9f7
Update more 2024 tests to remove -Zunstable-options
2024-11-28 14:32:45 -08:00
Obei Sideg
3b0ce1bc33
Update tests for hidden references to mutable static
2024-09-13 14:10:56 +03:00