rust/tests/ui/use/use-paths-as-items.rs
2023-01-11 09:32:08 +00:00

10 lines
249 B
Rust

// Each path node in a `use` declaration must be treated as an item. If not, the following code
// will trigger an ICE.
//
// Related issue: #25763
use std::{mem, ptr};
use std::mem; //~ ERROR the name `mem` is defined multiple times
fn main() {}