diff options
| author | inquisitivecrystal <22333129+inquisitivecrystal@users.noreply.github.com> | 2021-07-30 23:10:32 -0700 |
|---|---|---|
| committer | inquisitivecrystal <22333129+inquisitivecrystal@users.noreply.github.com> | 2021-08-28 00:24:30 -0700 |
| commit | 0299ed8bbb0b10c17489551c89c16794c7cd6edc (patch) | |
| tree | 5cd27e7aa1b6010a360a8aea5349786a2d5fae7a /compiler/rustc_passes/src | |
| parent | 8c62fa057527fc07afabb201bb31428409ef4d8a (diff) | |
| download | rust-0299ed8bbb0b10c17489551c89c16794c7cd6edc.tar.gz rust-0299ed8bbb0b10c17489551c89c16794c7cd6edc.zip | |
Remove obsolete `MacroDef` variant of `OwnerNode`
Diffstat (limited to 'compiler/rustc_passes/src')
| -rw-r--r-- | compiler/rustc_passes/src/reachable.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_passes/src/reachable.rs b/compiler/rustc_passes/src/reachable.rs index 7d22426609c..23f43233b79 100644 --- a/compiler/rustc_passes/src/reachable.rs +++ b/compiler/rustc_passes/src/reachable.rs @@ -310,8 +310,7 @@ impl<'tcx> ReachableContext<'tcx> { | Node::Ctor(..) | Node::Field(_) | Node::Ty(_) - | Node::Crate(_) - | Node::MacroDef(_) => {} + | Node::Crate(_) => {} _ => { bug!( "found unexpected node kind in worklist: {} ({:?})", |
