kill a bunch of one off tasks

This commit is contained in:
Niko Matsakis 2017-04-18 08:20:12 -04:00
parent 810e0151af
commit 8388772f42
13 changed files with 1 additions and 49 deletions

View file

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use rustc::dep_graph::DepNode;
use rustc::hir::itemlikevisit::ItemLikeVisitor;
use rustc::hir::map::Map;
use rustc::hir;
@ -16,7 +15,6 @@ use syntax::ast;
use syntax::attr;
pub fn find(hir_map: &Map) -> Option<ast::NodeId> {
let _task = hir_map.dep_graph.in_task(DepNode::PluginRegistrar);
let krate = hir_map.krate();
let mut finder = Finder { registrar: None };