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:
bors 2018-07-16 01:40:51 +00:00
commit 99140df0bd
1 changed files with 2 additions and 0 deletions

View File

@ -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;