]> git.proxmox.com Git - rustc.git/blobdiff - src/tools/tidy/src/cargo.rs
New upstream version 1.14.0+dfsg1
[rustc.git] / src / tools / tidy / src / cargo.rs
index 4932fd5147afa8ba2a9f023cb71e6278f9509344..a7784e65c5b1c5d2fcb91a2319bc1f8833a42b26 100644 (file)
@@ -88,9 +88,11 @@ fn verify(tomlfile: &Path, libfile: &Path, bad: &mut bool) {
             continue
         }
 
-        // We want the compiler to depend on the proc_macro crate so that it is built and
-        // included in the end, but we don't want to actually use it in the compiler.
-        if toml.contains("name = \"rustc_driver\"") && krate == "proc_macro" {
+        // We want the compiler to depend on the proc_macro_plugin crate so
+        // that it is built and included in the end, but we don't want to
+        // actually use it in the compiler.
+        if toml.contains("name = \"rustc_driver\"") &&
+           krate == "proc_macro_plugin" {
             continue
         }