rust/tests/compile-fail
2018-11-15 09:35:40 +01:00
..
stacked_borrows add an interesting demo for &mut being unique 2018-11-15 09:35:40 +01:00
validity bump Rust version 2018-11-08 08:35:14 +01:00
alignment.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
assume.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
atomic_non_integer_arithmetic.rs Reject atomic arithmetic on non-integer types 2018-10-31 11:04:35 +01:00
bitop-beyond-alignment.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
cast_box_int_to_fn_ptr.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
cast_fn_ptr2.rs new tests for new fn arg passing code 2018-08-30 10:42:18 +02:00
cast_fn_ptr3.rs new tests for new fn arg passing code 2018-08-30 10:42:18 +02:00
cast_fn_ptr4.rs new tests for new fn arg passing code 2018-08-30 10:42:18 +02:00
cast_fn_ptr5.rs rustup; test for return type mismatch 2018-10-02 21:16:55 +02:00
cast_fn_ptr_unsafe2.rs
cast_fn_ptr_unsafe.rs
cast_fn_ptr.rs new tests for new fn arg passing code 2018-08-30 10:42:18 +02:00
cast_int_to_fn_ptr.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
copy_nonoverlapping.rs use as(_mut)_ptr on slices to entirely escape them to raw 2018-10-22 18:51:06 +02:00
copy_null.rs add some compile-fail tests 2018-09-16 17:29:53 +02:00
copy_unaligned.rs add some compile-fail tests 2018-09-16 17:29:53 +02:00
ctlz_nonzero.rs
cttz_nonzero.rs
dangling_pointer_deref.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
deref_fn_ptr.rs fix for fn allocations now having an alignment (1) and a size (0) 2018-10-08 13:35:54 +02:00
div-by-zero-2.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
div-by-zero.rs
execute_memory.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
fn_ptr_offset.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
invalid_bool.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
invalid_char.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
invalid_enum_discriminant.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
maybe_null_pointer_deref_zst.rs test more operations on dangling ZST pointers 2018-09-17 10:02:31 +02:00
maybe_null_pointer_write_zst.rs test more operations on dangling ZST pointers 2018-09-17 10:02:31 +02:00
memleak_rc.rs no TLS dtor and no leak checks on macOS 2018-08-30 09:41:57 +02:00
memleak.rs no TLS dtor and no leak checks on macOS 2018-08-30 09:41:57 +02:00
modifying_constants.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
never_say_never.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
never_transmute_humans.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
never_transmute_void.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
null_pointer_deref_zst.rs test more operations on dangling ZST pointers 2018-09-17 10:02:31 +02:00
null_pointer_deref.rs
null_pointer_write_zst.rs test more operations on dangling ZST pointers 2018-09-17 10:02:31 +02:00
null_pointer_write.rs test more operations on dangling ZST pointers 2018-09-17 10:02:31 +02:00
out_of_bounds_read2.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
out_of_bounds_read.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
overflowing-lsh-neg.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
overflowing-rsh-2.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
overflowing-rsh.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
overflowing-unchecked-rsh.rs
overwriting_part_of_relocation_makes_the_rest_undefined.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
panic.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
pointer_byte_read_1.rs ptr equality: only defined for ptrs in the same allocation and live ptrs 2018-08-30 10:46:09 +02:00
pointer_byte_read_2.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
pointers_to_different_allocations_are_unorderable.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
ptr_bitops2.rs
ptr_bitops.rs ptr equality: only defined for ptrs in the same allocation and live ptrs 2018-08-30 10:46:09 +02:00
ptr_eq_dangling.rs more compile-fail ptr equality tests, to rule out any non-determinism; and fix ptr equality to fail all of them. 2018-09-17 10:02:31 +02:00
ptr_eq_integer.rs more compile-fail ptr equality tests, to rule out any non-determinism; and fix ptr equality to fail all of them. 2018-09-17 10:02:31 +02:00
ptr_eq_out_of_bounds_null.rs more compile-fail ptr equality tests, to rule out any non-determinism; and fix ptr equality to fail all of them. 2018-09-17 10:02:31 +02:00
ptr_eq_out_of_bounds.rs more compile-fail ptr equality tests, to rule out any non-determinism; and fix ptr equality to fail all of them. 2018-09-17 10:02:31 +02:00
ptr_int_cast.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
ptr_offset_int_plus_int.rs only allow offset-by-0 on integer pointers 2018-10-09 20:13:46 +02:00
ptr_offset_int_plus_ptr.rs use Box::into_raw 2018-10-07 10:35:34 +02:00
ptr_offset_ptr_plus_0.rs 0-offset is also not always okay 2018-10-09 20:13:46 +02:00
ptr_rem.rs
ptr_wrapping_offset_int_plus_ptr.rs use Box::into_raw 2018-10-07 10:35:34 +02:00
reading_half_a_pointer.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
reference_to_packed.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
stack_limit.rs rustup 2018-08-24 19:49:57 +02:00
static_memory_modification2.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
static_memory_modification3.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
static_memory_modification.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
storage_dead_dangling.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
transmute_fat2.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
transmute_fat.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
transmute-pair-undef.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
unaligned_ptr_cast2.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
unaligned_ptr_cast_zst.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
unaligned_ptr_cast.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
undefined_byte_read.rs stub Retag hook; fix tests for removal of -Zmir-emit-validate 2018-11-01 08:58:03 +01:00
wild_pointer_deref.rs don't use NOTE in tests 2018-10-19 12:29:49 +02:00
zst.rs get rid of implicit Raw at bottom of stack; locals get a uniq at their bottom 2018-10-22 18:17:37 +02:00