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