Skip to content

Commit 11a4442

Browse files
committed
fix test
1 parent e49ac95 commit 11a4442

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

tests/ui/consts/const-eval/ref_to_int_match.32bit.stderr

+1-7
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ LL | const BAR: Int = unsafe { Foo { r: &42 }.f };
77
= help: this code performed an operation that depends on the underlying bytes representing a pointer
88
= help: the absolute address of a pointer is not known at compile-time, so such operations are not supported
99

10-
error: could not evaluate constant pattern
11-
--> $DIR/ref_to_int_match.rs:7:14
12-
|
13-
LL | 10..=BAR => {},
14-
| ^^^
15-
16-
error: aborting due to 2 previous errors
10+
error: aborting due to 1 previous error
1711

1812
For more information about this error, try `rustc --explain E0080`.

0 commit comments

Comments
 (0)