mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
8 lines
154 B
Rust
8 lines
154 B
Rust
#![doc(cfg_hide(test))]
|
|
//~^ ERROR `#[doc(cfg_hide)]` is experimental
|
|
|
|
#[cfg(not(test))]
|
|
pub fn public_fn() {}
|
|
#[cfg(test)]
|
|
pub fn internal_use_only() {}
|