Skip to content

Commit 5ede03e

Browse files
authored
Unrolled build for rust-lang#127239
Rollup merge of rust-lang#127239 - RalfJung:big-endian, r=Nadrieril remove unnecessary ignore-endian-big from stack-overflow-trait-infer … Follow-up to [this](rust-lang#122895 (comment)) discussion
2 parents d68fe4e + 6c803ff commit 5ede03e

3 files changed

+5
-6
lines changed

tests/ui/sized/stack-overflow-trait-infer-98842.32bit.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ error[E0391]: cycle detected when computing layout of `Foo`
33
= note: ...which requires computing layout of `<&'static Foo as core::ops::deref::Deref>::Target`...
44
= note: ...which again requires computing layout of `Foo`, completing the cycle
55
note: cycle used when const-evaluating + checking `_`
6-
--> $DIR/stack-overflow-trait-infer-98842.rs:15:1
6+
--> $DIR/stack-overflow-trait-infer-98842.rs:14:1
77
|
88
LL | const _: *const Foo = 0 as _;
99
| ^^^^^^^^^^^^^^^^^^^
1010
= note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
1111

1212
error[E0080]: evaluation of constant value failed
13-
--> $DIR/stack-overflow-trait-infer-98842.rs:15:1
13+
--> $DIR/stack-overflow-trait-infer-98842.rs:14:1
1414
|
1515
LL | const _: *const Foo = 0 as _;
1616
| ^^^^^^^^^^^^^^^^^^^ a cycle occurred during layout computation

tests/ui/sized/stack-overflow-trait-infer-98842.64bit.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ error[E0391]: cycle detected when computing layout of `Foo`
33
= note: ...which requires computing layout of `<&'static Foo as core::ops::deref::Deref>::Target`...
44
= note: ...which again requires computing layout of `Foo`, completing the cycle
55
note: cycle used when const-evaluating + checking `_`
6-
--> $DIR/stack-overflow-trait-infer-98842.rs:15:1
6+
--> $DIR/stack-overflow-trait-infer-98842.rs:14:1
77
|
88
LL | const _: *const Foo = 0 as _;
99
| ^^^^^^^^^^^^^^^^^^^
1010
= note: see https://rustc-dev-guide.rust-lang.org/overview.html#queries and https://rustc-dev-guide.rust-lang.org/query.html for more information
1111

1212
error[E0080]: evaluation of constant value failed
13-
--> $DIR/stack-overflow-trait-infer-98842.rs:15:1
13+
--> $DIR/stack-overflow-trait-infer-98842.rs:14:1
1414
|
1515
LL | const _: *const Foo = 0 as _;
1616
| ^^^^^^^^^^^^^^^^^^^ a cycle occurred during layout computation

tests/ui/sized/stack-overflow-trait-infer-98842.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
//@ check-fail
44
//@ edition:2021
55
//@ stderr-per-bitwidth
6-
//@ ignore-endian-big
7-
//~^^^^^^ ERROR cycle detected when computing layout of `Foo`
6+
//~^^^^^ ERROR cycle detected when computing layout of `Foo`
87

98
// If the inner `Foo` is named through an associated type,
109
// the "infinite size" error does not occur.

0 commit comments

Comments
 (0)