diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2020-11-11 22:40:09 +0100 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2020-11-26 21:32:27 +0100 |
| commit | 032f68d625e08b0a5485d3da7ad2487a519103be (patch) | |
| tree | 258c2ee77cb1478721c20ef1f11a88dd9078a3ea /compiler/rustc_resolve/src | |
| parent | 419a9186a4c8aeb2157298ea084a54c87ee2a653 (diff) | |
| download | rust-032f68d625e08b0a5485d3da7ad2487a519103be.tar.gz rust-032f68d625e08b0a5485d3da7ad2487a519103be.zip | |
Remove ForeignMod struct.
Diffstat (limited to 'compiler/rustc_resolve/src')
| -rw-r--r-- | compiler/rustc_resolve/src/late/lifetimes.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/late/lifetimes.rs b/compiler/rustc_resolve/src/late/lifetimes.rs index c79d670737e..91edbebc05f 100644 --- a/compiler/rustc_resolve/src/late/lifetimes.rs +++ b/compiler/rustc_resolve/src/late/lifetimes.rs @@ -388,7 +388,7 @@ impl<'a, 'tcx> Visitor<'tcx> for LifetimeContext<'a, 'tcx> { hir::ItemKind::ExternCrate(_) | hir::ItemKind::Use(..) | hir::ItemKind::Mod(..) - | hir::ItemKind::ForeignMod(..) + | hir::ItemKind::ForeignMod { .. } | hir::ItemKind::GlobalAsm(..) => { // These sorts of items have no lifetime parameters at all. intravisit::walk_item(self, item); |
