about summary refs log tree commit diff
path: root/src/test/ui/parser/fn-header-semantic-fail.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-58/+0
2022-09-09Bless tests, fix ICE with ImplTraitPlaceholderMichael Goulet-2/+0
2022-07-20take opaq typesouz-a-2/+2
2022-03-28Remove opaque type obligation and just register opaque types as they are ↵Oli Scherer-0/+2
encountered. This also registers obligations for the hidden type immediately.
2022-03-28Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk"Oli Scherer-3/+4
This reverts commit 6499c5e7fc173a3f55b7a3bd1e6a50e9edef782d, reversing changes made to 78450d2d602b06d9b94349aaf8cece1a4acaf3a8.
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