rust/src/test/compile-fail-fulldeps
Keegan McAllister 93b642d974 Use a crate attribute to load plugins
#[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]
2015-02-09 13:27:27 -08:00
..
gated-plugin.rs Use a crate attribute to load plugins 2015-02-09 13:27:27 -08:00
issue-18986.rs Update the compile-fail-fulldeps tests with new isize/usize literal suffixes. 2015-01-08 11:02:24 -05:00
lint-group-plugin-deny-cmdline.rs Use a crate attribute to load plugins 2015-02-09 13:27:27 -08:00
lint-plugin-deny-attr.rs Use a crate attribute to load plugins 2015-02-09 13:27:27 -08:00
lint-plugin-deny-cmdline.rs Use a crate attribute to load plugins 2015-02-09 13:27:27 -08:00
lint-plugin-forbid-attrs.rs Use a crate attribute to load plugins 2015-02-09 13:27:27 -08:00
lint-plugin-forbid-cmdline.rs Use a crate attribute to load plugins 2015-02-09 13:27:27 -08:00
macro-crate-cannot-read-embedded-ident.rs Use a crate attribute to load plugins 2015-02-09 13:27:27 -08:00
macro-crate-doesnt-resolve.rs Replace #[phase] with #[plugin] / #[macro_use] / #[no_link] 2015-01-05 18:21:13 -08:00
macro-crate-rlib.rs Use a crate attribute to load plugins 2015-02-09 13:27:27 -08:00
macro-crate-unexported-macro.rs Replace #[phase] with #[plugin] / #[macro_use] / #[no_link] 2015-01-05 18:21:13 -08:00
macro-crate-unknown-crate.rs Replace #[phase] with #[plugin] / #[macro_use] / #[no_link] 2015-01-05 18:21:13 -08:00
plugin-MacroRulesTT.rs Use a crate attribute to load plugins 2015-02-09 13:27:27 -08:00