diff options
Diffstat (limited to 'src/test/compile-fail/struct-no-fields-2.rs')
| -rw-r--r-- | src/test/compile-fail/struct-no-fields-2.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/struct-no-fields-2.rs b/src/test/compile-fail/struct-no-fields-2.rs index b6a40a0e8e9..63e38e35447 100644 --- a/src/test/compile-fail/struct-no-fields-2.rs +++ b/src/test/compile-fail/struct-no-fields-2.rs @@ -8,11 +8,11 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// error-pattern: Unit-like struct construction is written with no trailing `{ }` struct Foo; fn f2() { let _end_stmt = Foo { }; + //~^ ERROR: Unit-like struct construction is written with no trailing `{ }` } fn main() {} |
