diff options
| author | bohan <bohan-zhang@foxmail.com> | 2023-11-26 21:05:08 +0800 |
|---|---|---|
| committer | bohan <bohan-zhang@foxmail.com> | 2023-11-26 21:05:08 +0800 |
| commit | f23befe6c118573a2ca041bc89f959a8813b43a2 (patch) | |
| tree | dc0185a1375a527e7112b07412295916683cff7e /compiler/rustc_resolve | |
| parent | 274b5249eb1014b441fd9fe45e9373111f61e413 (diff) | |
| download | rust-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.rs | 3 |
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(..) |
