Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4ae2728

Browse files
committedNov 10, 2019
move syntax::parse -> librustc_parse
also move MACRO_ARGUMENTS -> librustc_parse
1 parent be023eb commit 4ae2728

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+480
-424
lines changed
 

‎Cargo.lock

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3504,6 +3504,7 @@ dependencies = [
35043504
"rustc_lint",
35053505
"rustc_metadata",
35063506
"rustc_mir",
3507+
"rustc_parse",
35073508
"rustc_plugin",
35083509
"rustc_plugin_impl",
35093510
"rustc_save_analysis",
@@ -3571,6 +3572,7 @@ dependencies = [
35713572
"rustc_lint",
35723573
"rustc_metadata",
35733574
"rustc_mir",
3575+
"rustc_parse",
35743576
"rustc_passes",
35753577
"rustc_plugin_impl",
35763578
"rustc_privacy",
@@ -3648,6 +3650,7 @@ dependencies = [
36483650
"rustc_data_structures",
36493651
"rustc_errors",
36503652
"rustc_index",
3653+
"rustc_parse",
36513654
"rustc_target",
36523655
"serialize",
36533656
"smallvec 1.0.0",
@@ -3691,6 +3694,21 @@ dependencies = [
36913694
"core",
36923695
]
36933696

3697+
[[package]]
3698+
name = "rustc_parse"
3699+
version = "0.0.0"
3700+
dependencies = [
3701+
"bitflags",
3702+
"log",
3703+
"rustc_data_structures",
3704+
"rustc_errors",
3705+
"rustc_lexer",
3706+
"rustc_target",
3707+
"smallvec 1.0.0",
3708+
"syntax",
3709+
"syntax_pos",
3710+
]
3711+
36943712
[[package]]
36953713
name = "rustc_passes"
36963714
version = "0.0.0"
@@ -3700,6 +3718,7 @@ dependencies = [
37003718
"rustc_data_structures",
37013719
"rustc_errors",
37023720
"rustc_index",
3721+
"rustc_parse",
37033722
"rustc_target",
37043723
"syntax",
37053724
"syntax_pos",
@@ -3762,6 +3781,7 @@ dependencies = [
37623781
"rustc",
37633782
"rustc_codegen_utils",
37643783
"rustc_data_structures",
3784+
"rustc_parse",
37653785
"serde_json",
37663786
"syntax",
37673787
"syntax_pos",
@@ -4371,14 +4391,11 @@ dependencies = [
43714391
name = "syntax_expand"
43724392
version = "0.0.0"
43734393
dependencies = [
4374-
"bitflags",
4375-
"lazy_static 1.3.0",
43764394
"log",
43774395
"rustc_data_structures",
43784396
"rustc_errors",
4379-
"rustc_index",
43804397
"rustc_lexer",
4381-
"scoped-tls",
4398+
"rustc_parse",
43824399
"serialize",
43834400
"smallvec 1.0.0",
43844401
"syntax",
@@ -4393,6 +4410,7 @@ dependencies = [
43934410
"log",
43944411
"rustc_data_structures",
43954412
"rustc_errors",
4413+
"rustc_parse",
43964414
"rustc_target",
43974415
"smallvec 1.0.0",
43984416
"syntax",

‎src/librustc_driver/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ rustc_data_structures = { path = "../librustc_data_structures" }
2121
errors = { path = "../librustc_errors", package = "rustc_errors" }
2222
rustc_metadata = { path = "../librustc_metadata" }
2323
rustc_mir = { path = "../librustc_mir" }
24+
rustc_parse = { path = "../librustc_parse" }
2425
rustc_plugin = { path = "../librustc_plugin/deprecated" } # To get this in the sysroot
2526
rustc_plugin_impl = { path = "../librustc_plugin" }
2627
rustc_save_analysis = { path = "../librustc_save_analysis" }

0 commit comments

Comments
 (0)
Please sign in to comment.