Skip to content

Commit 5d4cf4b

Browse files
committed
---
yaml --- r: 107980 b: refs/heads/dist-snap c: 03c28b4 h: refs/heads/master v: v3
1 parent 9ec3abf commit 5d4cf4b

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: f64fdf524a434f0e5cd0bc91d09c144723f3c90d
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/dist-snap: 8a1dda92ba348c93540fbe06f1a9f17111d1a8f3
9+
refs/heads/dist-snap: 03c28b4ac56dd3688a8d324bb2e7683a351e656b
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1212
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/src/test/compile-fail/struct-no-fields-2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// error-pattern: Unit-like struct construction is written with no trailing `{ }`
1211
struct Foo;
1312

1413
fn f2() {
1514
let _end_stmt = Foo { };
15+
//~^ ERROR: Unit-like struct construction is written with no trailing `{ }`
1616
}
1717

1818
fn main() {}

branches/dist-snap/src/test/compile-fail/struct-no-fields-3.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// error-pattern: Unit-like struct construction is written with no trailing `{ }`
1211
struct Foo;
1312

1413
fn g3() {
1514
let _mid_tuple = (Foo { }, 2);
15+
//~^ ERROR: Unit-like struct construction is written with no trailing `{ }`
1616
}
1717

1818
fn main() {}

branches/dist-snap/src/test/compile-fail/struct-no-fields-4.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// error-pattern: Unit-like struct construction is written with no trailing `{ }`
1211
struct Foo;
1312

1413
fn h4() {
1514
let _end_of_tuple = (3, Foo { });
15+
//~^ ERROR: Unit-like struct construction is written with no trailing `{ }`
1616
}
1717

1818
fn main() {}

branches/dist-snap/src/test/compile-fail/struct-no-fields-5.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// error-pattern: Unit-like struct construction is written with no trailing `{ }`
1211
struct Foo;
1312

1413
fn i5() {
1514
let _end_of_block = { Foo { } };
15+
//~^ ERROR: Unit-like struct construction is written with no trailing `{ }`
1616
}
1717

1818
fn main() {}

branches/dist-snap/src/test/compile-fail/struct-no-fields.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// error-pattern: Unit-like struct definition should be written as `struct Foo;`
1211
struct Foo {}
12+
//~^ ERROR: Unit-like struct definition should be written as `struct Foo;`
1313

1414
fn main() {}

0 commit comments

Comments
 (0)