about summary refs log tree commit diff
path: root/src/test/compile-fail/malformed-plugin-1.rs
AgeCommit message (Collapse)AuthorLines
2018-08-14Moved compile-fail tests to ui tests.David Wood-14/+0
2015-03-06Check gated attributes before and after macro expansionKeegan McAllister-0/+1
This is important because attributes can affect expansion.
2015-02-09Use a crate attribute to load pluginsKeegan McAllister-0/+13
#[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]