diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2016-12-01 01:35:25 +0300 |
|---|---|---|
| committer | petrochenkov <vadim.petrochenkov@gmail.com> | 2016-12-26 15:01:49 +0300 |
| commit | 09aba18e109d7246e3b61c6642747139ee116c48 (patch) | |
| tree | 9f7e59b7d18cd85bbf16864d6819e3451a09c213 /src/test/compile-fail/xcrate-unit-struct.rs | |
| parent | 3fb676afb061edc708030a5ed1e5f3983e0beaa5 (diff) | |
| download | rust-09aba18e109d7246e3b61c6642747139ee116c48.tar.gz rust-09aba18e109d7246e3b61c6642747139ee116c48.zip | |
More systematic error reporting in path resolution
Diffstat (limited to 'src/test/compile-fail/xcrate-unit-struct.rs')
| -rw-r--r-- | src/test/compile-fail/xcrate-unit-struct.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/xcrate-unit-struct.rs b/src/test/compile-fail/xcrate-unit-struct.rs index 214a2a371ba..04af7133000 100644 --- a/src/test/compile-fail/xcrate-unit-struct.rs +++ b/src/test/compile-fail/xcrate-unit-struct.rs @@ -17,6 +17,6 @@ extern crate xcrate_unit_struct; fn main() { let _ = xcrate_unit_struct::StructWithFields; - //~^ ERROR: `xcrate_unit_struct::StructWithFields` is the name of a struct or struct variant + //~^ ERROR expected value, found struct `xcrate_unit_struct::StructWithFields` let _ = xcrate_unit_struct::Struct; } |
