This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
1
Packages
Projects
Releases
Wiki
Activity
Files
51b51b51d7931da85280382a81c4dd80c73ca754
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 21:29:59 +03: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 14:38:52 +08:00
fn
main
(
)
{
}
Reference in New Issue
Copy Permalink