]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/feature-gates/feature-gate-plugin_registrar.rs
1 // Test that `#[plugin_registrar]` attribute is gated by `plugin_registrar`
4 // the registration function isn't typechecked yet
6 //~^ ERROR compiler plugins are deprecated
7 //~| WARN use of deprecated attribute `plugin_registrar`: compiler plugins are deprecated
9 //~^ ERROR compiler plugins are experimental and possibly buggy