]> git.lizzy.rs Git - rust.git/blob - src/test/ui/use/use-paths-as-items.stderr
Merge commit 'a98e7ab8b94485be6bd03e0c6b8682ecab5b52e6' into clippyup
[rust.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;
7    |     ^^^^^^^^ `mem` reimported here
8    |
9    = note: `mem` must be defined only once in the type namespace of this module
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0252`.