@@ -133,18 +133,6 @@ DefaultResolver::visit (AST::TraitImpl &impl)
ctx.scoped (Rib::Kind::TraitOrImpl, impl.get_node_id (), inner_fn);
}
-void
-DefaultResolver::visit (AST::ExternBlock &block)
-{
- auto inner_fn = [this, &block] () {
- for (auto &item : block.get_extern_items ())
- item->accept_vis (*this);
- };
-
- ctx.scoped (Rib::Kind::Normal /* FIXME: Correct? */, block.get_node_id (),
- inner_fn);
-}
-
void
DefaultResolver::visit (AST::StructStruct &type)
{
@@ -49,7 +49,6 @@ public:
void visit (AST::Trait &);
void visit (AST::InherentImpl &);
void visit (AST::TraitImpl &);
- void visit (AST::ExternBlock &);
// type dec nodes, which visit their fields or variants by default
void visit (AST::StructStruct &);