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
Dylan MacKenzie
c38aca0502
delay_span_bug
if const-checking an async
function
...
This errors during AST lowering. Any errors we emit here are just noise.
2020-09-29 19:20:33 -07:00
Esteban Küber
6fba412499
Further tweak spans in ast validation errors
2020-03-06 10:55:21 -08:00
Matthew Jasper
d863978f89
Fix tests after rebase
2020-02-14 22:40:03 +00:00
Mazdak Farrokhzad
a833be2162
parser: fuse free fn
parsing together.
2020-02-13 10:39:24 +01:00
Tyler Lanphear
f6c3894724
compiletest: error if compile-fail
header in ui test.
2020-02-02 02:08:30 -05:00
Esteban Küber
4f25c618ad
Rework raw ident suggestions
...
Use heuristics to determine whethersuggesting raw identifiers is
appropriate.
Account for raw identifiers when printing a path in a `use` suggestion.
2019-11-23 17:06:34 -08:00
Esteban Küber
0baf61bfdb
Increase spacing for suggestions in diagnostics
...
Make the spacing between the code snippet and verbose structured
suggestions consistent with note and help messages.
2019-10-24 12:26:01 -07:00
Eric Huss
f6ceccea93
Upgrade async/await to "used" keywords.
2019-09-28 09:15:06 -07:00
Mazdak Farrokhzad
21476e7d6c
--bless post no async_await gates in tests.
2019-08-20 03:08:42 +02:00
Taylor Cramer
ba12e7862c
Add more tests for async/await
2019-06-25 11:46:33 -07:00