mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +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() {}
|