1 error[E0252]: the name `mem` is defined multiple times
2 --> $DIR/use-paths-as-items.rs:7:5
4 LL | use std::{mem, ptr};
5 | --- previous import of the module `mem` here
6 LL | use std::mem; //~ ERROR the name `mem` is defined multiple times
9 | | `mem` reimported here
10 | help: remove unnecessary import
12 = note: `mem` must be defined only once in the type namespace of this module
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0252`.