stage 2 gated-plugins and multiple-plugins

These test can fail on stage 1
This commit is contained in:
Chris Denton 2022-07-15 22:30:57 +01:00
parent 0fe5390a88
commit f822c3d6ec
No known key found for this signature in database
GPG Key ID: 713472F2F45627DE
4 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,5 @@
// aux-build:empty-plugin.rs
// ignore-stage1
#![plugin(empty_plugin)]
//~^ ERROR compiler plugins are deprecated

View File

@ -1,5 +1,5 @@
error[E0658]: compiler plugins are deprecated
--> $DIR/gated-plugin.rs:3:1
--> $DIR/gated-plugin.rs:4:1
|
LL | #![plugin(empty_plugin)]
| ^^^^^^^^^^^^^^^^^^^^^^^^
@ -8,7 +8,7 @@ LL | #![plugin(empty_plugin)]
= help: add `#![feature(plugin)]` to the crate attributes to enable
warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
--> $DIR/gated-plugin.rs:3:1
--> $DIR/gated-plugin.rs:4:1
|
LL | #![plugin(empty_plugin)]
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version

View File

@ -1,6 +1,7 @@
// run-pass
// aux-build:multiple-plugins-1.rs
// aux-build:multiple-plugins-2.rs
// ignore-stage1
// Check that the plugin registrar of multiple plugins doesn't conflict

View File

@ -1,5 +1,5 @@
warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
--> $DIR/multiple-plugins.rs:8:1
--> $DIR/multiple-plugins.rs:9:1
|
LL | #![plugin(multiple_plugins_1)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
@ -7,7 +7,7 @@ LL | #![plugin(multiple_plugins_1)]
= note: `#[warn(deprecated)]` on by default
warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
--> $DIR/multiple-plugins.rs:9:1
--> $DIR/multiple-plugins.rs:10:1
|
LL | #![plugin(multiple_plugins_2)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version