diff options
| author | François Mockers <mockersf@gmail.com> | 2018-10-17 01:21:40 +0200 |
|---|---|---|
| committer | François Mockers <mockersf@gmail.com> | 2018-10-17 01:21:40 +0200 |
| commit | 2ba567fc2799990f183f7b46e649bb8ce2de6787 (patch) | |
| tree | c40c82a855a821c5dd3ac2bf854d804184ddaa29 /src/test/ui/error-codes | |
| parent | ad4cea408df885f4c5b026aaafa0beed4e365c61 (diff) | |
| download | rust-2ba567fc2799990f183f7b46e649bb8ce2de6787.tar.gz rust-2ba567fc2799990f183f7b46e649bb8ce2de6787.zip | |
fix other tests failing due to change in case or new suggestion for extern crate
Diffstat (limited to 'src/test/ui/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/E0252.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/error-codes/E0254.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/error-codes/E0255.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/error-codes/E0259.stderr | 9 | ||||
| -rw-r--r-- | src/test/ui/error-codes/E0260.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/error-codes/E0430.stderr | 2 |
6 files changed, 10 insertions, 9 deletions
diff --git a/src/test/ui/error-codes/E0252.stderr b/src/test/ui/error-codes/E0252.stderr index a4271bf3a4d..0d112a4f02e 100644 --- a/src/test/ui/error-codes/E0252.stderr +++ b/src/test/ui/error-codes/E0252.stderr @@ -7,7 +7,7 @@ LL | use bar::baz; //~ ERROR E0252 | ^^^^^^^^ `baz` reimported here | = note: `baz` 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 bar::baz as other_baz; //~ ERROR E0252 | ^^^^^^^^^^^^^^^^^^^^^ diff --git a/src/test/ui/error-codes/E0254.stderr b/src/test/ui/error-codes/E0254.stderr index a52215df0bb..5e833f1ee39 100644 --- a/src/test/ui/error-codes/E0254.stderr +++ b/src/test/ui/error-codes/E0254.stderr @@ -8,7 +8,7 @@ LL | use foo::alloc; | ^^^^^^^^^^ `alloc` reimported here | = note: `alloc` 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 foo::alloc as other_alloc; | ^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/src/test/ui/error-codes/E0255.stderr b/src/test/ui/error-codes/E0255.stderr index a077a43c152..d01a4c002e7 100644 --- a/src/test/ui/error-codes/E0255.stderr +++ b/src/test/ui/error-codes/E0255.stderr @@ -8,7 +8,7 @@ LL | fn foo() {} //~ ERROR E0255 | ^^^^^^^^ `foo` redefined here | = note: `foo` must be defined only once in the value 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 bar::foo as other_foo; | ^^^^^^^^^^^^^^^^^^^^^ diff --git a/src/test/ui/error-codes/E0259.stderr b/src/test/ui/error-codes/E0259.stderr index 24a73544a35..8c3e3f851ae 100644 --- a/src/test/ui/error-codes/E0259.stderr +++ b/src/test/ui/error-codes/E0259.stderr @@ -5,12 +5,13 @@ LL | extern crate alloc; | ------------------- previous import of the extern crate `alloc` here LL | LL | extern crate libc as alloc; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | | - | `alloc` reimported here - | You can use `as` to change the binding name of the import + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `alloc` reimported here | = note: `alloc` 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 + | +LL | extern crate libc as other_alloc; + | error: aborting due to previous error diff --git a/src/test/ui/error-codes/E0260.stderr b/src/test/ui/error-codes/E0260.stderr index 437794432b0..08792a33921 100644 --- a/src/test/ui/error-codes/E0260.stderr +++ b/src/test/ui/error-codes/E0260.stderr @@ -8,7 +8,7 @@ LL | mod alloc { | ^^^^^^^^^ `alloc` redefined here | = note: `alloc` 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 | extern crate alloc as other_alloc; | diff --git a/src/test/ui/error-codes/E0430.stderr b/src/test/ui/error-codes/E0430.stderr index c50ed4ea5de..32198acec77 100644 --- a/src/test/ui/error-codes/E0430.stderr +++ b/src/test/ui/error-codes/E0430.stderr @@ -15,7 +15,7 @@ LL | use std::fmt::{self, self}; //~ ERROR E0430 | previous import of the module `fmt` here | = note: `fmt` 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 std::fmt::{self, self as other_fmt}; //~ ERROR E0430 | ^^^^^^^^^^^^^^^^^ |
