Skip to content

Commit 8f809f8

Browse files
committed
rustc: Move diagnostic to rustsyntax
1 parent 5c25e78 commit 8f809f8

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

src/rustc/driver/diagnostic.rs renamed to src/librustsyntax/diagnostic.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import std::term;
22
import io::writer_util;
3-
import syntax::codemap;
43
import codemap::span;
54

65
export emitter, emit;

src/librustsyntax/rustsyntax.rc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
use std;
88

9+
mod diagnostic;
910
mod codemap;
1011
mod ast;
1112
mod ast_util;

src/rustc/driver.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import rustsyntax::diagnostic;
2+
export diagnostic;
3+
4+
export driver;
5+
export session;

src/rustc/rustc.rc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ mod metadata {
133133
mod driver {
134134
mod driver;
135135
mod session;
136-
mod diagnostic;
137136
}
138137

139138
mod util {

0 commit comments

Comments
 (0)