diff --git a/Cargo.lock b/Cargo.lock
index fd6c7bf3ece..9fd31ee6393 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4373,7 +4373,6 @@ version = "0.0.0"
 dependencies = [
  "punycode",
  "rustc-demangle",
- "rustc_ast",
  "rustc_data_structures",
  "rustc_hir",
  "rustc_middle",
diff --git a/compiler/rustc_symbol_mangling/Cargo.toml b/compiler/rustc_symbol_mangling/Cargo.toml
index 3df5f161319..53d4dc2922f 100644
--- a/compiler/rustc_symbol_mangling/Cargo.toml
+++ b/compiler/rustc_symbol_mangling/Cargo.toml
@@ -12,7 +12,6 @@ tracing = "0.1"
 punycode = "0.4.0"
 rustc-demangle = "0.1.18"
 
-rustc_ast = { path = "../rustc_ast" }
 rustc_span = { path = "../rustc_span" }
 rustc_middle = { path = "../rustc_middle" }
 rustc_hir = { path = "../rustc_hir" }