]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui-fulldeps/lint-plugin-forbid-cmdline.rs
Rollup merge of #102940 - ehuss:update-books, r=ehuss
[rust.git] / src / test / ui-fulldeps / lint-plugin-forbid-cmdline.rs
index 695d3aef169051656b4c5ab6c63b2d868f6a25c8..ce034ee38d70c115df122f6819a3c1d8d223f92d 100644 (file)
@@ -7,9 +7,9 @@
 //~^ WARN use of deprecated attribute `plugin`
 fn lintme() { } //~ ERROR item is named 'lintme'
 
-#[allow(test_lint)] //~ ERROR allow(test_lint) overruled by outer forbid(test_lint)
-                    //~| ERROR allow(test_lint) overruled by outer forbid(test_lint)
-                    //~| ERROR allow(test_lint) overruled by outer forbid(test_lint)
+#[allow(test_lint)] //~ ERROR allow(test_lint) incompatible
+                    //~| ERROR allow(test_lint) incompatible
+                    //~| ERROR allow(test_lint)
 pub fn main() {
     lintme();
 }