Skip to content

Commit d3ee0ea

Browse files
committed
bless ui tests
1 parent 135c241 commit d3ee0ea

7 files changed

+9
-9
lines changed

src/test/ui/associated-consts/defaults-cyclic-fail.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ error[E0391]: cycle detected when const-evaluating + checking `Tr::A`
22
--> $DIR/defaults-cyclic-fail.rs:5:5
33
|
44
LL | const A: u8 = Self::B;
5-
| ^^^^^^^^^^^
5+
| ^^^^^^^^^^^^^^^^^^^^^
66
|
77
note: ...which requires const-evaluating + checking `Tr::B`...
88
--> $DIR/defaults-cyclic-fail.rs:8:5
99
|
1010
LL | const B: u8 = Self::A;
11-
| ^^^^^^^^^^^
11+
| ^^^^^^^^^^^^^^^^^^^^^
1212
= note: ...which again requires const-evaluating + checking `Tr::A`, completing the cycle
1313
note: cycle used when const-evaluating + checking `main::promoted[1]`
1414
--> $DIR/defaults-cyclic-fail.rs:16:16

src/test/ui/associated-consts/issue-24949-assoc-const-static-recursion-impl.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ note: ...which requires const-evaluating + checking `IMPL_REF_BAR`...
1313
--> $DIR/issue-24949-assoc-const-static-recursion-impl.rs:7:1
1414
|
1515
LL | const IMPL_REF_BAR: u32 = GlobalImplRef::BAR;
16-
| ^^^^^^^^^^^^^^^^^^^^^^^
16+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1717
note: ...which requires const-evaluating + checking `<impl at $DIR/issue-24949-assoc-const-static-recursion-impl.rs:11:1: 11:19>::BAR`...
1818
--> $DIR/issue-24949-assoc-const-static-recursion-impl.rs:12:5
1919
|

src/test/ui/associated-consts/issue-24949-assoc-const-static-recursion-trait-default.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ note: ...which requires const-evaluating + checking `DEFAULT_REF_BAR`...
1313
--> $DIR/issue-24949-assoc-const-static-recursion-trait-default.rs:11:1
1414
|
1515
LL | const DEFAULT_REF_BAR: u32 = <GlobalDefaultRef>::BAR;
16-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
16+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1717
note: ...which requires const-evaluating + checking `FooDefault::BAR`...
1818
--> $DIR/issue-24949-assoc-const-static-recursion-trait-default.rs:8:5
1919
|

src/test/ui/associated-consts/issue-24949-assoc-const-static-recursion-trait.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ note: ...which requires const-evaluating + checking `TRAIT_REF_BAR`...
1313
--> $DIR/issue-24949-assoc-const-static-recursion-trait.rs:7:1
1414
|
1515
LL | const TRAIT_REF_BAR: u32 = <GlobalTraitRef>::BAR;
16-
| ^^^^^^^^^^^^^^^^^^^^^^^^
16+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1717
note: ...which requires const-evaluating + checking `<impl at $DIR/issue-24949-assoc-const-static-recursion-trait.rs:11:1: 11:28>::BAR`...
1818
--> $DIR/issue-24949-assoc-const-static-recursion-trait.rs:12:5
1919
|

src/test/ui/consts/issue-36163.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ note: ...which requires const-evaluating + checking `A`...
88
--> $DIR/issue-36163.rs:1:1
99
|
1010
LL | const A: isize = Foo::B as isize;
11-
| ^^^^^^^^^^^^^^
11+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1212
= note: ...which again requires const-evaluating + checking `Foo::B::{constant#0}`, completing the cycle
1313
note: cycle used when simplifying constant for the type system `Foo::B::{constant#0}`
1414
--> $DIR/issue-36163.rs:4:9

src/test/ui/issues/issue-17252.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ error[E0391]: cycle detected when const-evaluating + checking `FOO`
22
--> $DIR/issue-17252.rs:1:1
33
|
44
LL | const FOO: usize = FOO;
5-
| ^^^^^^^^^^^^^^^^
5+
| ^^^^^^^^^^^^^^^^^^^^^^
66
|
77
= note: ...which immediately requires const-evaluating + checking `FOO` again
88
note: cycle used when const-evaluating + checking `main::{constant#0}`

src/test/ui/issues/issue-23302-3.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ error[E0391]: cycle detected when const-evaluating + checking `A`
22
--> $DIR/issue-23302-3.rs:1:1
33
|
44
LL | const A: i32 = B;
5-
| ^^^^^^^^^^^^
5+
| ^^^^^^^^^^^^^^^^
66
|
77
note: ...which requires const-evaluating + checking `B`...
88
--> $DIR/issue-23302-3.rs:3:1
99
|
1010
LL | const B: i32 = A;
11-
| ^^^^^^^^^^^^
11+
| ^^^^^^^^^^^^^^^^
1212
= note: ...which again requires const-evaluating + checking `A`, completing the cycle
1313
note: cycle used when simplifying constant for the type system `A`
1414
--> $DIR/issue-23302-3.rs:1:1

0 commit comments

Comments
 (0)