Skip to content

Commit

Permalink
Rollup merge of rust-lang#99298 - ChrisDenton:ignore-plugins-stage1, …
Browse files Browse the repository at this point in the history
…r=Mark-Simulacrum

Make `ui-fulldeps/gated-plugins` and `ui-fulldeps/multiple-plugins` tests stage 2 only

These test can fail on stage 1.

Fixes rust-lang#99295
  • Loading branch information
GuillaumeGomez authored Jul 23, 2022
2 parents 0e7c843 + f822c3d commit a9dc6a6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/test/ui-fulldeps/gated-plugin.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// aux-build:empty-plugin.rs
// ignore-stage1

#![plugin(empty_plugin)]
//~^ ERROR compiler plugins are deprecated
Expand Down
4 changes: 2 additions & 2 deletions src/test/ui-fulldeps/gated-plugin.stderr
Original file line number Diff line number Diff line change
@@ -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)]
| ^^^^^^^^^^^^^^^^^^^^^^^^
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/test/ui-fulldeps/multiple-plugins.rs
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions src/test/ui-fulldeps/multiple-plugins.stderr
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
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
|
= 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
Expand Down

0 comments on commit a9dc6a6

Please sign in to comment.