]> git.proxmox.com Git - rustc.git/blob - src/test/ui/use/use-paths-as-items.stderr
New upstream version 1.34.2+dfsg1
[rustc.git] / src / test / ui / use / use-paths-as-items.stderr
1 error[E0252]: the name `mem` is defined multiple times
2 --> $DIR/use-paths-as-items.rs:7:5
3 |
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
7 | ----^^^^^^^^-
8 | | |
9 | | `mem` reimported here
10 | help: remove unnecessary import
11 |
12 = note: `mem` must be defined only once in the type namespace of this module
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0252`.