Skip to content

Commit 99140df

Browse files
committed
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.
2 parents 100fb12 + d61540e commit 99140df

File tree

1 file changed

+2
-0
lines changed
  • src/doc/unstable-book/src/language-features

1 file changed

+2
-0
lines changed

src/doc/unstable-book/src/language-features/plugin.md

+2
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ that warns about any item named `lintme`.
183183
```rust,ignore
184184
#![feature(plugin_registrar)]
185185
#![feature(box_syntax, rustc_private)]
186+
#![feature(macro_vis_matcher)]
187+
#![feature(macro_at_most_once_rep)]
186188
187189
extern crate syntax;
188190

0 commit comments

Comments
 (0)