diff options
| author | trixnz <me@trix.nz> | 2016-08-20 12:10:41 +0200 | 
|---|---|---|
| committer | trixnz <me@trix.nz> | 2016-08-20 12:10:41 +0200 | 
| commit | d791aa1b3f2d67720f1baba31bf1f1a5e7988b8f (patch) | |
| tree | edf2fd27297774f9038c958470aa41dce5f24f89 /src/test/compile-fail/enum-and-module-in-same-scope.rs | |
| parent | 3b64cf669cef3aec090b2c6fa6ba7b8b23d4ba97 (diff) | |
| download | rust-d791aa1b3f2d67720f1baba31bf1f1a5e7988b8f.tar.gz rust-d791aa1b3f2d67720f1baba31bf1f1a5e7988b8f.zip  | |
Fix broken tests for E0428
Diffstat (limited to 'src/test/compile-fail/enum-and-module-in-same-scope.rs')
| -rw-r--r-- | src/test/compile-fail/enum-and-module-in-same-scope.rs | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/compile-fail/enum-and-module-in-same-scope.rs b/src/test/compile-fail/enum-and-module-in-same-scope.rs index a6793ee8b9f..527ac7505a6 100644 --- a/src/test/compile-fail/enum-and-module-in-same-scope.rs +++ b/src/test/compile-fail/enum-and-module-in-same-scope.rs @@ -8,11 +8,12 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -enum Foo { //~ NOTE previous definition +enum Foo { //~ NOTE previous definition of `Foo` here X } mod Foo { //~ ERROR a type named `Foo` has already been defined + //~| NOTE already defined pub static X: isize = 42; fn f() { f() } // Check that this does not result in a resolution error }  | 
