diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2024-11-20 23:10:52 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2024-12-04 20:29:36 +0000 |
| commit | da58406c73524054e9915aee4aa44d415868be6b (patch) | |
| tree | 0336677f824c4e645e30872fab576be510dbb005 | |
| parent | d136b3108def7af6d43229ba704ab21778f55125 (diff) | |
| download | rust-da58406c73524054e9915aee4aa44d415868be6b.tar.gz rust-da58406c73524054e9915aee4aa44d415868be6b.zip | |
fix test
| -rw-r--r-- | tests/ui/consts/const-eval/ref_to_int_match.32bit.stderr | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/ui/consts/const-eval/ref_to_int_match.32bit.stderr b/tests/ui/consts/const-eval/ref_to_int_match.32bit.stderr index 8175fe6016a..18935626af1 100644 --- a/tests/ui/consts/const-eval/ref_to_int_match.32bit.stderr +++ b/tests/ui/consts/const-eval/ref_to_int_match.32bit.stderr @@ -7,12 +7,6 @@ LL | const BAR: Int = unsafe { Foo { r: &42 }.f }; = help: this code performed an operation that depends on the underlying bytes representing a pointer = help: the absolute address of a pointer is not known at compile-time, so such operations are not supported -error: could not evaluate constant pattern - --> $DIR/ref_to_int_match.rs:7:14 - | -LL | 10..=BAR => {}, - | ^^^ - -error: aborting due to 2 previous errors +error: aborting due to 1 previous error For more information about this error, try `rustc --explain E0080`. |
