about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorSantiago Pastorino <spastorino@gmail.com>2018-07-18 17:52:49 -0300
committerFelix S. Klock II <pnkfelix@pnkfx.org>2018-07-23 13:28:54 +0200
commit82e853e2e2e614cd36e4ff996a6ef48eefe1c5b6 (patch)
tree681f2913e18202abb68189366ee6f0a584de8f25 /src
parentbc1eec3fa8bf65736f1e3ea375b22e83bddb38bb (diff)
downloadrust-82e853e2e2e614cd36e4ff996a6ef48eefe1c5b6.tar.gz
rust-82e853e2e2e614cd36e4ff996a6ef48eefe1c5b6.zip
Remove wrong allow(dead_code) directive
Diffstat (limited to 'src')
-rw-r--r--src/librustc_mir/borrow_check/mod.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/librustc_mir/borrow_check/mod.rs b/src/librustc_mir/borrow_check/mod.rs
index 46046efa9ba..28fd7272b78 100644
--- a/src/librustc_mir/borrow_check/mod.rs
+++ b/src/librustc_mir/borrow_check/mod.rs
@@ -331,7 +331,6 @@ fn do_mir_borrowck<'a, 'gcx, 'tcx>(
     result
 }
 
-#[allow(dead_code)]
 pub struct MirBorrowckCtxt<'cx, 'gcx: 'tcx, 'tcx: 'cx> {
     tcx: TyCtxt<'cx, 'gcx, 'tcx>,
     mir: &'cx Mir<'tcx>,