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
966d96c9d2
rust
/
src
/
test
/
ui
/
feature-gates
/
feature-gate-doc_cfg.rs
3 lines
77 B
Rust
Raw
Normal View
History
Unescape
Escape
normalize use of backticks in compiler messages for libsyntax/feature_gate https://github.com/rust-lang/rust/issues/60532
2019-07-09 04:32:08 -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