]> git.lizzy.rs Git - rust.git/tree - tests/compile-fail/
Merge branch 'master' into debug
[rust.git] / tests / compile-fail /
drwxr-xr-x   ..
-rw-r--r-- 448 alignment.rs
-rw-r--r-- 232 assume.rs
-rw-r--r-- 222 atomic_non_integer_arithmetic.rs
-rw-r--r-- 987 bitop-beyond-alignment.rs
-rw-r--r-- 297 cast_box_int_to_fn_ptr.rs
-rw-r--r-- 186 cast_fn_ptr1.rs
-rw-r--r-- 231 cast_fn_ptr2.rs
-rw-r--r-- 204 cast_fn_ptr3.rs
-rw-r--r-- 268 cast_fn_ptr4.rs
-rw-r--r-- 217 cast_fn_ptr5.rs
-rw-r--r-- 266 cast_int_to_fn_ptr.rs
-rw-r--r-- 291 copy_nonoverlapping.rs
-rw-r--r-- 236 copy_null.rs
-rw-r--r-- 322 copy_unaligned.rs
-rw-r--r-- 248 ctlz_nonzero.rs
-rw-r--r-- 248 cttz_nonzero.rs
-rw-r--r-- 208 dangling_pointer_deref.rs
-rw-r--r-- 369 deallocate-bad-alignment.rs
-rw-r--r-- 369 deallocate-bad-size.rs
-rw-r--r-- 400 deallocate-twice.rs
-rw-r--r-- 204 deref_fn_ptr.rs
-rw-r--r-- 178 div-by-zero-1.rs
-rw-r--r-- 92 div-by-zero-2.rs
-rw-r--r-- 306 execute_memory.rs
-rw-r--r-- 362 fn_ptr_offset.rs
-rw-r--r-- 397 getrandom.rs
-rw-r--r-- 228 invalid_bool.rs
-rw-r--r-- 314 invalid_char.rs
-rw-r--r-- 310 invalid_enum_discriminant.rs
-rw-r--r-- 220 maybe_null_pointer_deref_zst.rs
-rw-r--r-- 422 maybe_null_pointer_write_zst.rs
-rw-r--r-- 205 memleak.rs
-rw-r--r-- 367 memleak_rc.rs
-rw-r--r-- 372 modifying_constants.rs
-rw-r--r-- 308 never_say_never.rs
-rw-r--r-- 257 never_transmute_humans.rs
-rw-r--r-- 346 never_transmute_void.rs
-rw-r--r-- 145 null_pointer_deref.rs
-rw-r--r-- 146 null_pointer_deref_zst.rs
-rw-r--r-- 97 null_pointer_write.rs
-rw-r--r-- 301 null_pointer_write_zst.rs
-rw-r--r-- 309 out_of_bounds_ptr_1.rs
-rw-r--r-- 197 out_of_bounds_ptr_2.rs
-rw-r--r-- 187 out_of_bounds_read1.rs
-rw-r--r-- 187 out_of_bounds_read2.rs
-rw-r--r-- 138 overflowing-lsh-neg.rs
-rw-r--r-- 118 overflowing-rsh-1.rs
-rw-r--r-- 245 overflowing-rsh-2.rs
-rw-r--r-- 189 overflowing-unchecked-rsh.rs
-rw-r--r-- 415 overwriting_part_of_relocation_makes_the_rest_undefined.rs
-rw-r--r-- 105 panic1.rs
-rw-r--r-- 112 panic2.rs
-rw-r--r-- 107 panic3.rs
-rw-r--r-- 114 panic4.rs
-rw-r--r-- 304 pointer_byte_read_1.rs
-rw-r--r-- 257 pointer_byte_read_2.rs
-rw-r--r-- 169 pointers_to_different_allocations_are_unorderable.rs
-rw-r--r-- 310 ptr_bitops1.rs
-rw-r--r-- 159 ptr_bitops2.rs
-rw-r--r-- 349 ptr_eq_dangling.rs
-rw-r--r-- 267 ptr_eq_integer.rs
-rw-r--r-- 369 ptr_eq_out_of_bounds.rs
-rw-r--r-- 290 ptr_eq_out_of_bounds_null.rs
-rw-r--r-- 319 ptr_int_cast.rs
-rw-r--r-- 187 ptr_offset_int_plus_int.rs
-rw-r--r-- 251 ptr_offset_int_plus_ptr.rs
-rw-r--r-- 170 ptr_offset_overflow.rs
-rw-r--r-- 295 ptr_offset_ptr_plus_0.rs
-rw-r--r-- 159 ptr_rem.rs
-rw-r--r-- 268 ptr_wrapping_offset_int_plus_ptr.rs
-rw-r--r-- 654 rc_as_raw.rs
-rw-r--r-- 870 reading_half_a_pointer.rs
-rw-r--r-- 381 reallocate-bad-size.rs
-rw-r--r-- 375 reallocate-change-alloc.rs
-rw-r--r-- 409 reallocate-dangling.rs
-rw-r--r-- 382 reference_to_packed.rs
-rw-r--r-- 287 stack_free.rs
drwxr-xr-x - stacked_borrows
-rw-r--r-- 339 static_memory_modification1.rs
-rw-r--r-- 352 static_memory_modification2.rs
-rw-r--r-- 344 static_memory_modification3.rs
-rw-r--r-- 427 storage_dead_dangling.rs
-rw-r--r-- 751 transmute-pair-undef.rs
-rw-r--r-- 473 transmute_fat1.rs
-rw-r--r-- 318 transmute_fat2.rs
-rw-r--r-- 322 unaligned_ptr_cast1.rs
-rw-r--r-- 410 unaligned_ptr_cast2.rs
-rw-r--r-- 279 unaligned_ptr_cast_zst.rs
-rw-r--r-- 220 undefined_byte_read.rs
drwxr-xr-x - validity
-rw-r--r-- 186 wild_pointer_deref.rs
-rw-r--r-- 158 zst.rs