about summary refs log tree commit diff
path: root/src/test/ui/parser/fn-header-semantic-fail.rs
AgeCommit message (Collapse)AuthorLines
2022-02-11Revert "Auto merge of #92007 - oli-obk:lazy_tait2, r=nikomatsakis"Oli Scherer-4/+3
This reverts commit e7cc3bddbe0d0e374d05e7003e662bba1742dbae, reversing changes made to 734368a200904ef9c21db86c595dc04263c87be0.
2022-02-02Lazily resolve type-alias-impl-trait defining usesOli Scherer-3/+4
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.
2021-05-09remove const_fn feature gateRalf Jung-1/+0
2021-01-13Update tests for extern block lintingMark Rousskov-1/+1
2020-09-29`delay_span_bug` if const-checking an `async` functionDylan MacKenzie-3/+0
This errors during AST lowering. Any errors we emit here are just noise.
2020-09-22Bless testsDylan MacKenzie-0/+3
2020-02-13ast_validation: tweak diagnostic outputMazdak Farrokhzad-8/+8
2020-02-13parser: fuse free `fn` parsing together.Mazdak Farrokhzad-3/+7
2020-02-13parser_fn_front_matter: allow `const .. extern`Mazdak Farrokhzad-9/+6
2020-02-05parser: merge `fn` grammars wrt. bodies & headersMazdak Farrokhzad-0/+57
also refactor `FnKind` and `visit_assoc_item` visitors