diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2017-06-27 23:16:04 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2017-07-06 14:36:48 -0700 |
| commit | eb478e23813b89944edfa602b6927e17c4c62f86 (patch) | |
| tree | 265b712b83ec72723c776fe3d04f9a32188e9214 /src/test/ui/resolve | |
| parent | 7c849146353322ad72bba6c64580b53164aa9304 (diff) | |
| download | rust-eb478e23813b89944edfa602b6927e17c4c62f86.tar.gz rust-eb478e23813b89944edfa602b6927e17c4c62f86.zip | |
Add extra whitespace for suggestions
Diffstat (limited to 'src/test/ui/resolve')
| -rw-r--r-- | src/test/ui/resolve/enums-are-namespaced-xc.stderr | 6 | ||||
| -rw-r--r-- | src/test/ui/resolve/issue-16058.stderr | 6 | ||||
| -rw-r--r-- | src/test/ui/resolve/issue-17518.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/resolve/issue-21221-1.stderr | 15 | ||||
| -rw-r--r-- | src/test/ui/resolve/issue-21221-2.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/resolve/issue-21221-3.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/resolve/issue-21221-4.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/resolve/issue-3907.stderr | 2 | ||||
| -rw-r--r-- | src/test/ui/resolve/privacy-struct-ctor.stderr | 6 |
9 files changed, 36 insertions, 7 deletions
diff --git a/src/test/ui/resolve/enums-are-namespaced-xc.stderr b/src/test/ui/resolve/enums-are-namespaced-xc.stderr index 87ca26695b0..525dd4fe8f1 100644 --- a/src/test/ui/resolve/enums-are-namespaced-xc.stderr +++ b/src/test/ui/resolve/enums-are-namespaced-xc.stderr @@ -5,7 +5,9 @@ error[E0425]: cannot find value `A` in module `namespaced_enums` | ^ not found in `namespaced_enums` | help: possible candidate is found in another module, you can import it into scope + | 12 | use namespaced_enums::Foo::A; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0425]: cannot find function `B` in module `namespaced_enums` --> $DIR/enums-are-namespaced-xc.rs:18:31 @@ -14,7 +16,9 @@ error[E0425]: cannot find function `B` in module `namespaced_enums` | ^ not found in `namespaced_enums` | help: possible candidate is found in another module, you can import it into scope + | 12 | use namespaced_enums::Foo::B; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0422]: cannot find struct, variant or union type `C` in module `namespaced_enums` --> $DIR/enums-are-namespaced-xc.rs:21:31 @@ -23,7 +27,9 @@ error[E0422]: cannot find struct, variant or union type `C` in module `namespace | ^ not found in `namespaced_enums` | help: possible candidate is found in another module, you can import it into scope + | 12 | use namespaced_enums::Foo::C; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: aborting due to 3 previous errors diff --git a/src/test/ui/resolve/issue-16058.stderr b/src/test/ui/resolve/issue-16058.stderr index 184ab557548..7abf6e3d5fd 100644 --- a/src/test/ui/resolve/issue-16058.stderr +++ b/src/test/ui/resolve/issue-16058.stderr @@ -5,9 +5,11 @@ error[E0574]: expected struct, variant or union type, found enum `Result` | ^^^^^^ not a struct, variant or union type | help: possible better candidates are found in other modules, you can import them into scope + | 12 | use std::fmt::Result; -13 | use std::io::Result; -14 | use std::thread::Result; +12 | use std::io::Result; +12 | use std::thread::Result; + | error: aborting due to previous error diff --git a/src/test/ui/resolve/issue-17518.stderr b/src/test/ui/resolve/issue-17518.stderr index ced4919e47a..d7017f30145 100644 --- a/src/test/ui/resolve/issue-17518.stderr +++ b/src/test/ui/resolve/issue-17518.stderr @@ -5,7 +5,9 @@ error[E0422]: cannot find struct, variant or union type `E` in this scope | ^ not found in this scope | help: possible candidate is found in another module, you can import it into scope + | 11 | use SomeEnum::E; + | ^^^^^^^^^^^^^^^^ error: aborting due to previous error diff --git a/src/test/ui/resolve/issue-21221-1.stderr b/src/test/ui/resolve/issue-21221-1.stderr index 1f4fe01dee0..ce5ed7b5e5d 100644 --- a/src/test/ui/resolve/issue-21221-1.stderr +++ b/src/test/ui/resolve/issue-21221-1.stderr @@ -5,9 +5,11 @@ error[E0405]: cannot find trait `Mul` in this scope | ^^^ not found in this scope | help: possible candidates are found in other modules, you can import them into scope + | 11 | use mul1::Mul; -12 | use mul2::Mul; -13 | use std::ops::Mul; +11 | use mul2::Mul; +11 | use std::ops::Mul; + | error[E0412]: cannot find type `Mul` in this scope --> $DIR/issue-21221-1.rs:72:16 @@ -16,10 +18,11 @@ error[E0412]: cannot find type `Mul` in this scope | ^^^ not found in this scope | help: possible candidates are found in other modules, you can import them into scope + | 11 | use mul1::Mul; -12 | use mul2::Mul; -13 | use mul3::Mul; -14 | use mul4::Mul; +11 | use mul2::Mul; +11 | use mul3::Mul; +11 | use mul4::Mul; and 2 other candidates error[E0405]: cannot find trait `ThisTraitReallyDoesntExistInAnyModuleReally` in this scope @@ -35,7 +38,9 @@ error[E0405]: cannot find trait `Div` in this scope | ^^^ not found in this scope | help: possible candidate is found in another module, you can import it into scope + | 11 | use std::ops::Div; + | ^^^^^^^^^^^^^^^^^^ error: cannot continue compilation due to previous error diff --git a/src/test/ui/resolve/issue-21221-2.stderr b/src/test/ui/resolve/issue-21221-2.stderr index 74490efed7a..bca3667d60b 100644 --- a/src/test/ui/resolve/issue-21221-2.stderr +++ b/src/test/ui/resolve/issue-21221-2.stderr @@ -5,7 +5,9 @@ error[E0405]: cannot find trait `T` in this scope | ^ not found in this scope | help: possible candidate is found in another module, you can import it into scope + | 11 | use foo::bar::T; + | ^^^^^^^^^^^^^^^^ error[E0601]: main function not found diff --git a/src/test/ui/resolve/issue-21221-3.stderr b/src/test/ui/resolve/issue-21221-3.stderr index 54f3773a8d7..f364fb590ab 100644 --- a/src/test/ui/resolve/issue-21221-3.stderr +++ b/src/test/ui/resolve/issue-21221-3.stderr @@ -5,7 +5,9 @@ error[E0405]: cannot find trait `OuterTrait` in this scope | ^^^^^^^^^^ not found in this scope | help: possible candidate is found in another module, you can import it into scope + | 16 | use issue_21221_3::outer::OuterTrait; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: cannot continue compilation due to previous error diff --git a/src/test/ui/resolve/issue-21221-4.stderr b/src/test/ui/resolve/issue-21221-4.stderr index 739a06ca8b3..a022ca0749d 100644 --- a/src/test/ui/resolve/issue-21221-4.stderr +++ b/src/test/ui/resolve/issue-21221-4.stderr @@ -5,7 +5,9 @@ error[E0405]: cannot find trait `T` in this scope | ^ not found in this scope | help: possible candidate is found in another module, you can import it into scope + | 16 | use issue_21221_4::T; + | ^^^^^^^^^^^^^^^^^^^^^ error: cannot continue compilation due to previous error diff --git a/src/test/ui/resolve/issue-3907.stderr b/src/test/ui/resolve/issue-3907.stderr index d1df59408c7..56d3afd77e6 100644 --- a/src/test/ui/resolve/issue-3907.stderr +++ b/src/test/ui/resolve/issue-3907.stderr @@ -5,7 +5,9 @@ error[E0404]: expected trait, found type alias `Foo` | ^^^ type aliases cannot be used for traits | help: possible better candidate is found in another module, you can import it into scope + | 12 | use issue_3907::Foo; + | ^^^^^^^^^^^^^^^^^^^^ error: cannot continue compilation due to previous error diff --git a/src/test/ui/resolve/privacy-struct-ctor.stderr b/src/test/ui/resolve/privacy-struct-ctor.stderr index 6d75efffe62..c0b0fc63f22 100644 --- a/src/test/ui/resolve/privacy-struct-ctor.stderr +++ b/src/test/ui/resolve/privacy-struct-ctor.stderr @@ -9,7 +9,9 @@ error[E0423]: expected value, found struct `Z` | constructor is not visible here due to private fields | help: possible better candidate is found in another module, you can import it into scope + | 15 | use m::n::Z; + | ^^^^^^^^^^^^ error[E0423]: expected value, found struct `S` --> $DIR/privacy-struct-ctor.rs:36:5 @@ -21,7 +23,9 @@ error[E0423]: expected value, found struct `S` | constructor is not visible here due to private fields | help: possible better candidate is found in another module, you can import it into scope + | 13 | use m::S; + | ^^^^^^^^^ error[E0423]: expected value, found struct `xcrate::S` --> $DIR/privacy-struct-ctor.rs:42:5 @@ -33,7 +37,9 @@ error[E0423]: expected value, found struct `xcrate::S` | constructor is not visible here due to private fields | help: possible better candidate is found in another module, you can import it into scope + | 13 | use m::S; + | ^^^^^^^^^ error[E0603]: tuple struct `Z` is private --> $DIR/privacy-struct-ctor.rs:25:9 |
