]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui-fulldeps/lint-plugin-cmdline-load.rs
Rollup merge of #69807 - GuillaumeGomez:cleanup-e0391, r=Dylan-DPC
[rust.git] / src / test / ui-fulldeps / lint-plugin-cmdline-load.rs
index 27ef9649cf34fc663c8b3f8c105f4d29ca5b856d..0bd95dfbd14a97420b0a78f9c50f7c7775b4a14c 100644 (file)
@@ -1,19 +1,9 @@
-// Copyright 2014 The Rust Project Developers. See the COPYRIGHT
-// file at the top-level directory of this distribution and at
-// http://rust-lang.org/COPYRIGHT.
-//
-// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-// option. This file may not be copied, modified, or distributed
-// except according to those terms.
-
-// run-pass
-// aux-build:lint_plugin_test.rs
+// check-pass
+// aux-build:lint-plugin-test.rs
 // ignore-stage1
-// compile-flags: -Z extra-plugins=lint_plugin_test
+// compile-flags: -Z crate-attr=plugin(lint_plugin_test)
 
-#![allow(dead_code)]
+#![feature(plugin)]
 
 fn lintme() { } //~ WARNING item is named 'lintme'