mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
10 lines
249 B
Rust
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() {}
|