summary refs log tree commit diff
path: root/src/test/compile-fail/plugin-extern-crate-attr-deprecated.rs
AgeCommit message (Collapse)AuthorLines
2015-02-09Add a help message for deprecated #[plugin] extern crateKeegan McAllister-0/+1
2015-02-09Use a crate attribute to load pluginsKeegan McAllister-0/+14
#[plugin] #[no_link] extern crate bleh; becomes a crate attribute #![plugin(bleh)] The feature gate is still required. It's almost never correct to link a plugin into the resulting library / executable, because it will bring all of libsyntax and librustc with it. However if you really want this behavior, you can get it with a separate `extern crate` item in addition to the `plugin` attribute. Fixes #21043. Fixes #20769. [breaking-change]