diff options
| author | Oliver Schneider <git-spam-no-reply9815368754983@oli-obk.de> | 2016-02-08 15:34:47 +0100 |
|---|---|---|
| committer | Oliver Schneider <git-spam-no-reply9815368754983@oli-obk.de> | 2016-02-11 12:34:48 +0100 |
| commit | 79fa657abc6b8885ceb4023099b4e0026c5ef28f (patch) | |
| tree | 47b5b4bada4def35e5da8f19b4af309f887c8421 /src/librustc_front | |
| parent | 8516ba367d1f51318ce373fe9b60650c82ded1e9 (diff) | |
| download | rust-79fa657abc6b8885ceb4023099b4e0026c5ef28f.tar.gz rust-79fa657abc6b8885ceb4023099b4e0026c5ef28f.zip | |
[breaking-change] don't glob export ast::Decl_ variants
Diffstat (limited to 'src/librustc_front')
| -rw-r--r-- | src/librustc_front/lowering.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_front/lowering.rs b/src/librustc_front/lowering.rs index 11bbc14b7b7..165982abc05 100644 --- a/src/librustc_front/lowering.rs +++ b/src/librustc_front/lowering.rs @@ -247,11 +247,11 @@ pub fn lower_arm(lctx: &LoweringContext, arm: &Arm) -> hir::Arm { pub fn lower_decl(lctx: &LoweringContext, d: &Decl) -> P<hir::Decl> { match d.node { - DeclLocal(ref l) => P(Spanned { + DeclKind::Local(ref l) => P(Spanned { node: hir::DeclLocal(lower_local(lctx, l)), span: d.span, }), - DeclItem(ref it) => P(Spanned { + DeclKind::Item(ref it) => P(Spanned { node: hir::DeclItem(lower_item_id(lctx, it)), span: d.span, }), |
