Skip to content

Commit 935335c

Browse files
committed
---
yaml --- r: 188335 b: refs/heads/master c: 8491c82 h: refs/heads/master i: 188333: 7f890b9 188331: 476817b 188327: 68983dc 188319: 6bc8f41 v: v3
1 parent 259dffd commit 935335c

File tree

5 files changed

+10
-4
lines changed

5 files changed

+10
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 46de12ad0064e7879b1d8ce07e96e1e31274b881
2+
refs/heads/master: 8491c82c905d9b6d72742fd6dd0ec82c021bb800
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 3a96d6a9818fe2affc98a187fb1065120458cee9
55
refs/heads/try: 649d35e4d830b27806705dc5352c86ab6d6fd1a1

trunk/src/test/compile-fail/issue-18389.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ pub trait Public: Private<
2323
<Self as Public>::P,
2424
//~^ ERROR illegal recursive type; insert an enum or struct in the cycle, if this is desired
2525
<Self as Public>::R
26+
//~^ ERROR unsupported cyclic reference between types/traits detected
2627
> {
2728
type P;
2829
type R;

trunk/src/test/compile-fail/issue-19244-1.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,7 @@ const TUP: (usize,) = (42,);
1212

1313
fn main() {
1414
let a: [isize; TUP.1];
15-
//~^ ERROR expected constant expr for array length: tuple index out of bounds
15+
//~^ ERROR array length constant evaluation error: tuple index out of bounds
16+
//~| ERROR attempted out-of-bounds tuple index
17+
//~| ERROR attempted out-of-bounds tuple index
1618
}

trunk/src/test/compile-fail/issue-19244-2.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,7 @@ const STRUCT: MyStruct = MyStruct { field: 42 };
1313

1414
fn main() {
1515
let a: [isize; STRUCT.nonexistent_field];
16-
//~^ ERROR expected constant expr for array length: nonexistent struct field
16+
//~^ ERROR array length constant evaluation error: nonexistent struct field
17+
//~| ERROR attempted access of field `nonexistent_field`
18+
//~| ERROR attempted access of field `nonexistent_field`
1719
}

trunk/src/test/compile-fail/non-constant-expr-for-fixed-len-vec.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
fn main() {
1414
fn bar(n: isize) {
1515
let _x: [isize; n];
16-
//~^ ERROR expected constant expr for array length: non-constant path in constant expr
16+
//~^ ERROR no type for local variable
17+
//~| ERROR array length constant evaluation error: non-constant path in constant expr
1718
}
1819
}

0 commit comments

Comments
 (0)