summaryrefslogtreecommitdiffstats
path: root/src/test/ui/use/use-paths-as-items.rs
blob: 7b5eb56b18fd8f16f11373a98a3834d59da5455a (plain)
1
2
3
4
5
6
7
8
9
// 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() {}