From 11e9947ff55b4c8a4f9c8ce875bfff6f2016e8b4 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Sun, 13 May 2012 17:49:27 -0700 Subject: [PATCH] rustc: Eliminate a simple dependency from metadata mod --- src/rustc/metadata.rs | 2 -- src/rustc/metadata/astencode.rs | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/rustc/metadata.rs b/src/rustc/metadata.rs index b161fd0b248..5248b9e0cc8 100644 --- a/src/rustc/metadata.rs +++ b/src/rustc/metadata.rs @@ -45,8 +45,6 @@ mod back { mod driver { import session = driver_::session; export session; - import diagnostic = syntax::diagnostic; - export diagnostic; } mod util { diff --git a/src/rustc/metadata/astencode.rs b/src/rustc/metadata/astencode.rs index f59bb55b43d..080a5431faa 100644 --- a/src/rustc/metadata/astencode.rs +++ b/src/rustc/metadata/astencode.rs @@ -31,7 +31,7 @@ import c = common; import e = encoder; // used in testing: -import driver::diagnostic; +import syntax::diagnostic; import syntax::codemap; import syntax::parse; import syntax::print::pprust;