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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue