Remove commented out line.
This commit is contained in:
parent
b815ecc597
commit
24b4dfcf1b
1 changed files with 0 additions and 1 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue