]> git.lizzy.rs Git - rust.git/blob - src/test/ui/use/use-paths-as-items.rs
Merge commit 'cd4810de42c57b64b74dae09c530a4c3a41f87b9' into libgccjit-codegen
[rust.git] / src / test / ui / use / use-paths-as-items.rs
1 // Each path node in a `use` declaration must be treated as an item. If not, the following code
2 // will trigger an ICE.
3 //
4 // Related issue: #25763
5
6 use std::{mem, ptr};
7 use std::mem; //~ ERROR the name `mem` is defined multiple times
8
9 fn main() {}