]> git.lizzy.rs Git - rust.git/commitdiff
Remove wrong allow(dead_code) directive
authorSantiago Pastorino <spastorino@gmail.com>
Wed, 18 Jul 2018 20:52:49 +0000 (17:52 -0300)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Mon, 23 Jul 2018 11:28:54 +0000 (13:28 +0200)
src/librustc_mir/borrow_check/mod.rs

index 46046efa9ba6d2fc980acf59337af09b5e87d24e..28fd7272b78b0b542324c7fcc5c37294c0920af2 100644 (file)
@@ -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>,