mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-13 09:05:00 +00:00
17 lines
328 B
Rust
17 lines
328 B
Rust
|
pub mod inner {
|
||
|
#[cfg(FALSE)]
|
||
|
mod gone {
|
||
|
pub fn uwu() {}
|
||
|
}
|
||
|
|
||
|
#[cfg(FALSE)]
|
||
|
pub use super::uwu;
|
||
|
//~^ NOTE found an item that was configured out
|
||
|
}
|
||
|
|
||
|
fn main() {
|
||
|
// There is no uwu at this path - no diagnostic.
|
||
|
inner::uwu(); //~ ERROR cannot find function
|
||
|
//~^ NOTE not found in `inner`
|
||
|
}
|