]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/double-type-import.stderr
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / double-type-import.stderr
index d5d977da4aa4cd94e980496285d95079f605b5cd..4bdee0c4c9f6c5749eae1ac24d9d5bfcd9ba38de 100644 (file)
@@ -1,5 +1,5 @@
 error[E0252]: the name `X` is defined multiple times
-  --> $DIR/double-type-import.rs:13:9
+  --> $DIR/double-type-import.rs:3:9
    |
 LL |     pub use self::bar::X;
    |             ------------ previous import of the type `X` here
@@ -7,7 +7,7 @@ LL |     use self::bar::X;
    |         ^^^^^^^^^^^^ `X` reimported here
    |
    = note: `X` must be defined only once in the type namespace of this module
-help: You can use `as` to change the binding name of the import
+help: you can use `as` to change the binding name of the import
    |
 LL |     use self::bar::X as OtherX;
    |         ^^^^^^^^^^^^^^^^^^^^^^