rust/compiler/rustc_resolve/src
Matthias Krüger 11b4510202
Rollup merge of #102161 - compiler-errors:issue-102138, r=tmandry
Resolve async fn signature even without body (e.g., in trait)

Fixes #102138

This "bail if no body" behavior was introduced in #69539 to fix #69401, but that ICE does not reproduce any more. The error message changes a bit, but that's all, and I don't think it's a particularly diagnostic bad regression.
2022-09-25 09:32:08 +02:00
..
diagnostics Implement the unused_macro_rules lint 2022-05-05 19:13:00 +02:00
late separate definitions and HIR owners 2022-09-24 23:21:19 +09:00
access_levels.rs resolve: Set effective visibilities for imports more precisely 2022-09-22 15:00:24 +03:00
build_reduced_graph.rs RPITIT placeholder items 2022-09-09 01:31:44 +00:00
check_unused.rs rustc_middle: Remove Visibility::Invisible 2022-08-27 22:34:18 +03:00
def_collector.rs Remove unused span argument from walk_fn. 2022-09-12 13:24:27 +10:00
diagnostics.rs more clippy::perf fixes 2022-09-03 22:57:22 +02:00
ident.rs rustc: Parameterize ty::Visibility over used ID 2022-09-07 13:35:41 +04:00
imports.rs resolve: Set effective visibilities for imports more precisely 2022-09-22 15:00:24 +03:00
late.rs Only record extra lifetime params for async trait fn with no body 2022-09-24 19:26:54 +00:00
lib.rs Only enable the let_else feature on bootstrap 2022-09-15 21:06:45 +02:00
macros.rs Fix a bunch of typo 2022-08-31 18:24:55 +08:00