Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rustc_plugin: Remove support for plugin arguments
- Loading branch information
1 parent
4007d4e
commit 55ba05b
Showing
14 changed files
with
97 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
...t/ui/feature-gates/feature-gate-plugin.rs → src/test/ui-fulldeps/feature-gate-plugin.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
.../feature-gates/feature-gate-plugin.stderr → ...st/ui-fulldeps/feature-gate-plugin.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
// check-pass | ||
// aux-build:empty-plugin.rs | ||
// ignore-stage1 | ||
|
||
#![feature(plugin)] | ||
#![plugin(empty_plugin())] //~ WARNING compiler plugins are deprecated | ||
#![plugin(empty_plugin(args))] | ||
//~^ ERROR malformed `plugin` attribute | ||
//~| WARNING compiler plugins are deprecated | ||
|
||
fn main() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
error[E0498]: malformed `plugin` attribute | ||
--> $DIR/plugin-args-2.rs:5:11 | ||
| | ||
LL | #![plugin(empty_plugin(args))] | ||
| ^^^^^^^^^^^^^^^^^^ malformed attribute | ||
|
||
warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675 | ||
--> $DIR/plugin-args-2.rs:6:1 | ||
--> $DIR/plugin-args-2.rs:5:1 | ||
| | ||
LL | #![plugin(empty_plugin())] | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version | ||
LL | #![plugin(empty_plugin(args))] | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version | ||
| | ||
= note: `#[warn(deprecated)]` on by default | ||
|
||
error: aborting due to previous error | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters