fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

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