document :vis in unstable book

This commit is contained in:
Alex Burka 2017-04-02 20:04:27 +00:00
parent 37459e13fc
commit 1d46805057
2 changed files with 15 additions and 0 deletions

View File

@ -114,6 +114,7 @@
- [lookup_host](lookup-host.md)
- [loop_break_value](loop-break-value.md)
- [macro_reexport](macro-reexport.md)
- [macro_vis_matcher](macro-vis-matcher.md)
- [main](main.md)
- [manually_drop](manually-drop.md)
- [map_entry_recover_keys](map-entry-recover-keys.md)

View File

@ -0,0 +1,14 @@
# `macro_vis_matcher`
The tracking issue for this feature is: [#41022]
With this feature gate enabled, the [list of fragment specifiers][frags] gains one more entry:
* `vis`: a visibility qualifier. Examples: nothing (default visibility); `pub`; `pub(crate)`.
A `vis` variable may be followed by a comma, ident, type, or path.
[#41022]: https://github.com/rust-lang/rust/issues/41022
[frags]: ../book/first-edition/macros.html#syntactic-requirements
------------------------