mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
5 lines
124 B
Rust
5 lines
124 B
Rust
#[cfg_attr(all(), cfg_attr(all(), cfg(foo)))]
|
|
fn f() {}
|
|
|
|
fn main() { f() } //~ ERROR cannot find function `f` in this scope
|