diff options
| author | cjkenn <cam.j.kennedy@gmail.com> | 2017-10-17 18:18:07 -0700 |
|---|---|---|
| committer | cjkenn <cam.j.kennedy@gmail.com> | 2017-10-19 23:22:04 -0700 |
| commit | 24b4dfcf1b9862d3a8fa15a36f1d39ae0971d9f9 (patch) | |
| tree | ff4b55bf867d98fb02723fe11f434abfbf8eda91 | |
| parent | b815ecc597a2457014dd9195e078ebe81c69a588 (diff) | |
| download | rust-24b4dfcf1b9862d3a8fa15a36f1d39ae0971d9f9.tar.gz rust-24b4dfcf1b9862d3a8fa15a36f1d39ae0971d9f9.zip | |
Remove commented out line.
| -rw-r--r-- | src/librustc_typeck/check_unused.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/librustc_typeck/check_unused.rs b/src/librustc_typeck/check_unused.rs index 29df70a4679..b867a655b4a 100644 --- a/src/librustc_typeck/check_unused.rs +++ b/src/librustc_typeck/check_unused.rs @@ -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()); |
