mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-13 02:17:41 +00:00
7 lines
235 B
Rust
7 lines
235 B
Rust
// #138113: rustdoc didn't gate unstable predicates inside `doc(cfg(..))`
|
|
#![feature(doc_cfg)]
|
|
|
|
// `cfg_version`
|
|
#[doc(cfg(sanitize = "thread"))] //~ ERROR `cfg(sanitize)` is experimental and subject to change
|
|
pub fn cfg_sanitize() {}
|