Permalink
Please
sign in to comment.
Showing
with
7 additions
and 81 deletions.
- +0 −12 src/doc/rustc/src/lints/listing/warn-by-default.md
- +1 −2 src/doc/unstable-book/src/language-features/plugin.md
- +1 −41 src/librustc_lint/builtin.rs
- +1 −2 src/librustc_lint/lib.rs
- +1 −6 src/test/ui-fulldeps/macro-crate-multi-decorator.rs
- +3 −4 src/test/ui-fulldeps/plugin-as-extern-crate.rs
- +0 −14 src/test/ui-fulldeps/plugin-as-extern-crate.stderr
@@ -1,11 +1,10 @@ | ||
// check-pass | ||
// aux-build:empty-plugin.rs | ||
// ignore-cross-compile | ||
// | ||
// empty_plugin will not compile on a cross-compiled target because | ||
// 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() {} |
0 comments on commit
cf1ffb0