diff options
| author | bors <bors@rust-lang.org> | 2018-07-16 01:40:51 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-07-16 01:40:51 +0000 |
| commit | 99140df0bd5a4dd77db28d78e73df4b5f6ba79a6 (patch) | |
| tree | d478e4cf9cb252d1159333fc86142d6a62344dbb /src | |
| parent | 100fb12a823cb77caf6f731c3dc2099e6fc8de50 (diff) | |
| parent | d61540ed0b32a87e379acc33deb608dc26e55311 (diff) | |
| download | rust-99140df0bd5a4dd77db28d78e73df4b5f6ba79a6.tar.gz rust-99140df0bd5a4dd77db28d78e73df4b5f6ba79a6.zip | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/unstable-book/src/language-features/plugin.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/doc/unstable-book/src/language-features/plugin.md b/src/doc/unstable-book/src/language-features/plugin.md index 2f645cf0470..19ece095090 100644 --- a/src/doc/unstable-book/src/language-features/plugin.md +++ b/src/doc/unstable-book/src/language-features/plugin.md @@ -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; |
