about summary refs log tree commit diff
path: root/compiler/rustc_resolve
diff options
context:
space:
mode:
authorbohan <bohan-zhang@foxmail.com>2023-11-26 21:05:08 +0800
committerbohan <bohan-zhang@foxmail.com>2023-11-26 21:05:08 +0800
commitf23befe6c118573a2ca041bc89f959a8813b43a2 (patch)
treedc0185a1375a527e7112b07412295916683cff7e /compiler/rustc_resolve
parent274b5249eb1014b441fd9fe45e9373111f61e413 (diff)
downloadrust-f23befe6c118573a2ca041bc89f959a8813b43a2.tar.gz
rust-f23befe6c118573a2ca041bc89f959a8813b43a2.zip
merge `DefKind::Coroutine` into `DefKind::Closure`
Diffstat (limited to 'compiler/rustc_resolve')
-rw-r--r--compiler/rustc_resolve/src/build_reduced_graph.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_resolve/src/build_reduced_graph.rs b/compiler/rustc_resolve/src/build_reduced_graph.rs
index 60a28e3a1a4..65901eedb21 100644
--- a/compiler/rustc_resolve/src/build_reduced_graph.rs
+++ b/compiler/rustc_resolve/src/build_reduced_graph.rs
@@ -973,8 +973,7 @@ impl<'a, 'b, 'tcx> BuildReducedGraphVisitor<'a, 'b, 'tcx> {
                 | DefKind::LifetimeParam
                 | DefKind::GlobalAsm
                 | DefKind::Closure
-                | DefKind::Impl { .. }
-                | DefKind::Coroutine,
+                | DefKind::Impl { .. },
                 _,
             )
             | Res::Local(..)