mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-23 12:23:22 +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
|
```rust,ignore
|
||||||
#![feature(plugin_registrar)]
|
#![feature(plugin_registrar)]
|
||||||
#![feature(box_syntax, rustc_private)]
|
#![feature(box_syntax, rustc_private)]
|
||||||
|
#![feature(macro_vis_matcher)]
|
||||||
|
#![feature(macro_at_most_once_rep)]
|
||||||
|
|
||||||
extern crate syntax;
|
extern crate syntax;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user