Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jul 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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