Skip to content

Commit

Permalink
Remove commented out line.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjkenn committed Oct 20, 2017
1 parent b815ecc commit 24b4dfc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/librustc_typeck/check_unused.rs
Expand Up @@ -66,7 +66,6 @@ pub fn check_crate<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>) {
let mut used_trait_imports = DefIdSet();
for &body_id in tcx.hir.krate().bodies.keys() {
let item_def_id = tcx.hir.body_owner_def_id(body_id);
// let tables = tcx.typeck_tables_of(item_def_id);
let imports = tcx.used_trait_imports(item_def_id);
debug!("GatherVisitor: item_def_id={:?} with imports {:#?}", item_def_id, imports);
used_trait_imports.extend(imports.iter());
Expand Down

0 comments on commit 24b4dfc

Please sign in to comment.