]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-26886.stderr
Use `summary_opts()` in another spot
[rust.git] / src / test / ui / issues / issue-26886.stderr
index fa7f922707ab91050d050c7dbb0c6f204f268d7b..e2b925ec5a70587a8871285612b2c1ac5c49c91e 100644 (file)
@@ -4,10 +4,7 @@ error[E0252]: the name `Arc` is defined multiple times
 LL | use std::sync::{self, Arc};
    |                       --- previous import of the type `Arc` here
 LL | use std::sync::Arc;
-   | ----^^^^^^^^^^^^^^-
-   | |   |
-   | |   `Arc` reimported here
-   | help: remove unnecessary import
+   |     ^^^^^^^^^^^^^^ `Arc` reimported here
    |
    = note: `Arc` must be defined only once in the type namespace of this module
 
@@ -18,10 +15,7 @@ LL | use std::sync::{self, Arc};
    |                 ---- previous import of the module `sync` here
 ...
 LL | use std::sync;
-   | ----^^^^^^^^^-
-   | |   |
-   | |   `sync` reimported here
-   | help: remove unnecessary import
+   |     ^^^^^^^^^ `sync` reimported here
    |
    = note: `sync` must be defined only once in the type namespace of this module