mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-22 20:03:37 +00:00
Auto merge of #52373 - eonil:master, r=kennytm
Update lint plugin sample code. The sample code is out of sync with latest test code and broken. I just copied missing feature gates.
This commit is contained in:
commit
99140df0bd
@ -183,6 +183,8 @@ that warns about any item named `lintme`.
|
||||
```rust,ignore
|
||||
#![feature(plugin_registrar)]
|
||||
#![feature(box_syntax, rustc_private)]
|
||||
#![feature(macro_vis_matcher)]
|
||||
#![feature(macro_at_most_once_rep)]
|
||||
|
||||
extern crate syntax;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user