about summary refs log tree commit diff
path: root/tests/codegen
diff options
context:
space:
mode:
authorThe 8472 <git@infinite-source.de>2023-01-03 02:39:13 +0100
committerThe 8472 <git@infinite-source.de>2023-01-15 17:38:05 +0100
commit9db013401879a39df86c33552c8c092cf95ea20c (patch)
tree23a1a086e1ea89dd894e7781b68dda9c9d82ed38 /tests/codegen
parent754f6d4a8cf1963a3446b20b20fd10f42df1ee41 (diff)
downloadrust-9db013401879a39df86c33552c8c092cf95ea20c.tar.gz
rust-9db013401879a39df86c33552c8c092cf95ea20c.zip
replace manual ptr arithmetic with ptr_sub
Diffstat (limited to 'tests/codegen')
-rw-r--r--tests/codegen/issue-45964-bounds-check-slice-pos.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/codegen/issue-45964-bounds-check-slice-pos.rs b/tests/codegen/issue-45964-bounds-check-slice-pos.rs
index aa59c713b78..1daa213fc82 100644
--- a/tests/codegen/issue-45964-bounds-check-slice-pos.rs
+++ b/tests/codegen/issue-45964-bounds-check-slice-pos.rs
@@ -2,6 +2,7 @@
 // prevent optimizing away bounds checks
 
 // compile-flags: -O
+// ignore-debug: the debug assertions get in the way
 
 #![crate_type="rlib"]