Boxy
6c3243f008
Bless
2025-02-27 20:02:25 +00:00
Boxy
cdd8895d72
Add inference constraining Copy impl test
2025-02-27 20:02:25 +00: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
Oli Scherer
07fcead073
Always take the Ok
path in lit_to_const
and produce error constants instead
2025-01-09 08:48:00 +00:00
Veera
98cc3457af
Suggest Semicolon in Incorrect Repeat Expressions
2024-12-21 02:30:50 +00:00
Veera
872aa75867
Add Tests
2024-12-21 00:19:18 +00:00
Esteban Küber
cbe75486f7
Account for let foo = expr
; to suggest const foo: Ty = expr;
2024-07-11 20:39:24 +00:00
Esteban Küber
b56dc8ee90
Use verbose style when suggesting changing const
with let
2024-07-11 20:39:24 +00:00
许杰友 Jieyou Xu (Joe)
ec2cc761bc
[AUTO-GENERATED] Migrate ui tests from //
to //@
directives
2024-02-16 20:02:50 +00:00
est31
9676e18868
Remove extra # from url
2024-01-24 00:41:45 +01:00
yukang
3ed96e35c4
Suggest arry::from_fn for array initialization
2024-01-21 09:57:26 +08: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
Esteban Küber
5b40aa5eb4
Tweak output for 'add line' suggestion
2023-04-12 22:50:10 +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