]> git.lizzy.rs Git - rust.git/blob - tests/ui/use/use-paths-as-items.stderr
Don't resolve type var roots in point_at_expr_source_of_inferred_type
[rust.git] / tests / 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`.