Skip to content

Commit 140151f

Browse files
committed
rustc: Move codemap to rustsyntax
1 parent a0ed1fb commit 140151f

File tree

4 files changed

+14
-1
lines changed

4 files changed

+14
-1
lines changed
File renamed without changes.

src/librustsyntax/rustsyntax.rc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
uuid = "c2b79dd0-a437-4ec7-95f9-858d77808c2f")];
44

55
#[crate_type = "lib"];
6+
7+
mod codemap;

src/rustc/rustc.rc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ mod syntax {
7575

7676
mod fold;
7777
mod visit;
78-
mod codemap;
7978
mod parse {
8079
mod lexer;
8180
mod parser;

src/rustc/syntax.rs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// Temporary wrapper modules for migrating syntax to its own crate
2+
import rustsyntax::codemap;
3+
export codemap;
4+
5+
export ast;
6+
export ast_util;
7+
export visit;
8+
export fold;
9+
export parse;
10+
export ext;
11+
export print;
12+
export util;

0 commit comments

Comments
 (0)