Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rustc_lint: Remove lint
plugin_as_library
- Loading branch information
1 parent
db357a6
commit cf1ffb0
Showing
7 changed files
with
7 additions
and
81 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
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,11 +1,10 @@ | |||
// check-pass | |||
// aux-build:empty-plugin.rs | // aux-build:empty-plugin.rs | ||
// ignore-cross-compile | // ignore-cross-compile | ||
// | // | ||
// empty_plugin will not compile on a cross-compiled target because | // empty_plugin will not compile on a cross-compiled target because | ||
// libsyntax is not compiled for it. | // libsyntax is not compiled for it. | ||
|
|
||
#![deny(plugin_as_library)] | extern crate empty_plugin; // OK, plugin crates are still crates | ||
|
|
||
extern crate empty_plugin; //~ ERROR compiler plugin used as an ordinary library | fn main() {} | ||
|
|||
fn main() { } |
This file was deleted.
Oops, something went wrong.