Skip to content

Commit ce7a579

Browse files
committed
rustc_plugin: Remove the compatibility shim
1 parent 8831d76 commit ce7a579

File tree

6 files changed

+3
-34
lines changed

6 files changed

+3
-34
lines changed

Cargo.lock

-8
Original file line numberDiff line numberDiff line change
@@ -3529,7 +3529,6 @@ dependencies = [
35293529
"rustc_metadata",
35303530
"rustc_mir",
35313531
"rustc_parse",
3532-
"rustc_plugin",
35333532
"rustc_plugin_impl",
35343533
"rustc_resolve",
35353534
"rustc_save_analysis",
@@ -3758,13 +3757,6 @@ dependencies = [
37583757
"syntax_pos",
37593758
]
37603759

3761-
[[package]]
3762-
name = "rustc_plugin"
3763-
version = "0.0.0"
3764-
dependencies = [
3765-
"rustc_plugin_impl",
3766-
]
3767-
37683760
[[package]]
37693761
name = "rustc_plugin_impl"
37703762
version = "0.0.0"

src/librustc_driver/Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ errors = { path = "../librustc_errors", package = "rustc_errors" }
2222
rustc_metadata = { path = "../librustc_metadata" }
2323
rustc_mir = { path = "../librustc_mir" }
2424
rustc_parse = { path = "../librustc_parse" }
25-
rustc_plugin = { path = "../librustc_plugin/deprecated" } # To get this in the sysroot
2625
rustc_plugin_impl = { path = "../librustc_plugin" }
2726
rustc_save_analysis = { path = "../librustc_save_analysis" }
2827
rustc_codegen_utils = { path = "../librustc_codegen_utils" }

src/librustc_interface/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ rustc_passes = { path = "../librustc_passes" }
3131
rustc_typeck = { path = "../librustc_typeck" }
3232
rustc_lint = { path = "../librustc_lint" }
3333
rustc_errors = { path = "../librustc_errors" }
34-
rustc_plugin = { path = "../librustc_plugin", package = "rustc_plugin_impl" }
34+
rustc_plugin_impl = { path = "../librustc_plugin" }
3535
rustc_privacy = { path = "../librustc_privacy" }
3636
rustc_resolve = { path = "../librustc_resolve" }
3737
tempfile = "3.0.5"

src/librustc_interface/passes.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ use rustc_metadata::cstore;
2929
use rustc_mir as mir;
3030
use rustc_parse::{parse_crate_from_file, parse_crate_from_source_str};
3131
use rustc_passes::{self, ast_validation, hir_stats, layout_test};
32-
use rustc_plugin as plugin;
33-
use rustc_plugin::registry::Registry;
32+
use rustc_plugin_impl as plugin;
33+
use rustc_plugin_impl::registry::Registry;
3434
use rustc_privacy;
3535
use rustc_resolve::{Resolver, ResolverArenas};
3636
use rustc_traits;

src/librustc_plugin/deprecated/Cargo.toml

-14
This file was deleted.

src/librustc_plugin/deprecated/lib.rs

-8
This file was deleted.

0 commit comments

Comments
 (0)