Skip to content

Commit 11e9947

Browse files
committed
rustc: Eliminate a simple dependency from metadata mod
1 parent 1f52652 commit 11e9947

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/rustc/metadata.rs

-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ mod back {
4545
mod driver {
4646
import session = driver_::session;
4747
export session;
48-
import diagnostic = syntax::diagnostic;
49-
export diagnostic;
5048
}
5149

5250
mod util {

src/rustc/metadata/astencode.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import c = common;
3131
import e = encoder;
3232

3333
// used in testing:
34-
import driver::diagnostic;
34+
import syntax::diagnostic;
3535
import syntax::codemap;
3636
import syntax::parse;
3737
import syntax::print::pprust;

0 commit comments

Comments
 (0)