This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
e30d27be00
rust
/
tests
/
ui
/
feature-gates
/
feature-gate-doc_cfg.rs
3 lines
72 B
Rust
Raw
Normal View
History
Unescape
Escape
feature_gate: Merge various attribute gating functions
2019-09-14 13:29:59 -05:00
#[
doc(cfg(unix))
]
//~ ERROR: `#[doc(cfg)]` is experimental
Implemented #[doc(cfg(...))]. This attribute has two effects: 1. Items with this attribute and their children will have the "This is supported on **** only" message attached in the documentation. 2. The items' doc tests will be skipped if the configuration does not match.
2017-08-05 01:38:52 -05:00
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink