Albert Larsan
cf2dff2b1e
Move /src/test to /tests
2023-01-11 09:32:08 +00:00
klensy
0ff8ae3111
diagnostics: fix trailing space
2022-06-16 14:40:28 +03:00
Jack Huey
62d0e4cba9
Resolve vars in note_type_err
2022-05-06 23:35:42 -04:00
Oli Scherer
d54195db22
Revert "Auto merge of #92007 - oli-obk:lazy_tait2, r=nikomatsakis"
...
This reverts commit e7cc3bddbe
, reversing
changes made to 734368a200
.
2022-02-11 07:18:06 +00:00
Oli Scherer
0f6e06b7c0
Lazily resolve type-alias-impl-trait defining uses
...
by using an opaque type obligation to bubble up comparisons between opaque types and other types
Also uses proper obligation causes so that the body id works, because out of some reason nll uses body ids for logic instead of just diagnostics.
2022-02-02 15:40:11 +00:00
Michael Goulet
f6392a1614
Print output ty for opaque future ty
2021-11-18 13:19:18 -08:00
Esteban Küber
99f2977031
Modify structured suggestion output
...
* On suggestions that include deletions, use a diff inspired output format
* When suggesting addition, use `+` as underline
* Color highlight modified span
2021-08-11 09:46:24 +00:00
Esteban Küber
052084af13
Tweak opaque type mismatch error
2021-07-31 12:20:00 -07:00
Nell Shamrell
356beb3084
clarifies error when finding mismatched returned types for async functions
...
Signed-off-by: Nell Shamrell <nellshamrell@gmail.com>
2021-02-24 18:46:54 -08:00
Ömer Sinan Ağacan
15fdccc6ae
Update 'match-prev-arm-needing-semi'
2021-02-18 16:43:43 +03:00
Esteban Küber
f5d7443a6b
Suggest semicolon removal and boxing when appropriate
2020-10-23 08:06:41 -07:00
Esteban Küber
c5485115dc
Add more .await
suggestions on E0308
2020-10-23 08:06:41 -07:00
Esteban Küber
1829b4a887
Add test case for different impl Future
s
2020-10-23 08:06:41 -07:00
Esteban Küber
671d7c4afb
Account for possible boxable impl Future
in semicolon removal suggestions
2020-10-23 08:06:13 -07:00
Esteban Küber
a4ee3ca1e4
Suggest semicolon removal on prior match arm
2020-10-23 08:02:58 -07:00