2015-04-16 22:48:31 +10:00
|
|
|
// Test that `#![plugin(...)]` attribute is gated by `plugin` feature gate
|
|
|
|
|
|
|
|
#![plugin(foo)]
|
2019-09-22 01:32:51 +02:00
|
|
|
//~^ ERROR compiler plugins are deprecated and will be removed in 1.44.0
|
|
|
|
//~| WARN use of deprecated attribute `plugin`: compiler plugins are deprecated
|
2015-04-16 22:48:31 +10:00
|
|
|
|
|
|
|
fn main() {}
|