We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e49ac95 commit 11a4442Copy full SHA for 11a4442
tests/ui/consts/const-eval/ref_to_int_match.32bit.stderr
@@ -7,12 +7,6 @@ LL | const BAR: Int = unsafe { Foo { r: &42 }.f };
7
= help: this code performed an operation that depends on the underlying bytes representing a pointer
8
= help: the absolute address of a pointer is not known at compile-time, so such operations are not supported
9
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
+error: aborting due to 1 previous error
17
18
For more information about this error, try `rustc --explain E0080`.
0 commit comments