reddevilmidzy
db2a73e284
Cleaned up 5 tests in tests/ui
2025-04-25 20:50:57 +09: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
Esteban Küber
b466405890
Do not talk about "trait <Foo = Bar>"
...
Pass in an appropriate `Option<DefId>` in more cases from hir ty lowering.
2024-12-07 21:37:15 +00:00
Esteban Küber
d13c34828e
reword trait bound suggestion message to include the bounds
2024-12-07 21:26:20 +00:00
许杰友 Jieyou Xu (Joe)
95ff642797
tests: remove //@ pretty-expanded usages
...
Done with
```bash
sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs
```
and
```
sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs
```
2024-11-26 02:50:48 +08:00
León Orell Valerian Liehr
02a2f02727
Suggest full trait ref (with placeholders) on unresolved assoc tys
2024-07-23 01:26:25 +02:00
León Orell Valerian Liehr
3c8b108512
Inside eager ty aliases on unresolved assoc tys suggest fully qualifying instead of restricting their self ty
2024-07-23 01:26:24 +02: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
León Orell Valerian Liehr
0ca432844c
Check lazy type aliases for well-formedness
2023-07-30 11:24:15 +02:00
Michael Goulet
4b58ae0bb8
Mark lazy_type_alias as incomplete
2023-07-29 19:47:15 +00:00
León Orell Valerian Liehr
c856c74764
Normalize lazy type aliases when probing for ADTs
2023-07-16 12:38:43 +02:00
Albert Larsan
cf2dff2b1e
Move /src/test to /tests
2023-01-11 09:32:08 +00:00