提交 99140df0 编写于 作者: B bors

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.
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册