rust/tests/compile-fail/stacked_borrows
2020-12-11 11:28:33 +01:00
..
alias_through_mutation.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
aliasing_mut1.rs barriers are dead, long live protectors -- this enables overlapping two-phase borrows! 2019-04-17 16:02:57 +02:00
aliasing_mut2.rs barriers are dead, long live protectors -- this enables overlapping two-phase borrows! 2019-04-17 16:02:57 +02:00
aliasing_mut3.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
aliasing_mut4.rs barriers are dead, long live protectors -- this enables overlapping two-phase borrows! 2019-04-17 16:02:57 +02:00
box_exclusive_violation1.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
buggy_as_mut_slice.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
buggy_split_at_mut.rs make reborrow shallow, and fix tests for that 2019-08-02 08:09:22 +02:00
deallocate_against_barrier1.rs test that even &Cell must be dereferencable 2019-08-09 19:22:47 +02:00
deallocate_against_barrier2.rs typo 2019-11-22 18:12:10 +01:00
illegal_read1.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
illegal_read2.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
illegal_read3.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
illegal_read4.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
illegal_read5.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
illegal_read6.rs add tests for fixes: sharing no longer leaks, and we can handle entering interior mutability 2019-04-17 16:02:57 +02:00
illegal_read7.rs test another version of 'creating a shared ref must not leak the Unique' 2019-04-19 08:46:40 +02:00
illegal_read8.rs new compile-fail test involving non-reborrowing-cast-to-raw 2020-01-30 12:22:15 +01:00
illegal_write1.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
illegal_write2.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
illegal_write3.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
illegal_write4.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
illegal_write5.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
illegal_write6.rs Rustup to rustc 1.42.0-nightly (9ff30a781 2019-12-21) 2019-12-21 11:45:09 +01:00
interior_mut1.rs test for new read rules 2019-05-21 15:43:18 +02:00
interior_mut2.rs test for new read rules 2019-05-21 15:43:18 +02:00
invalidate_against_barrier1.rs barriers are dead, long live protectors -- this enables overlapping two-phase borrows! 2019-04-17 16:02:57 +02:00
invalidate_against_barrier2.rs barriers are dead, long live protectors -- this enables overlapping two-phase borrows! 2019-04-17 16:02:57 +02:00
issue-miri-1050-1.rs do full deref-check before reborrowing 2019-11-14 10:24:02 +01:00
issue-miri-1050-2.rs rustup; fix for changed error messages 2020-05-01 14:43:59 +02:00
load_invalid_mut.rs make sure we find some things without validation or stacked borrows, respectively 2020-04-14 10:23:47 +02:00
load_invalid_shr.rs make sure we find some things without validation or stacked borrows, respectively 2020-04-14 10:23:47 +02:00
mut_exclusive_violation1.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
mut_exclusive_violation2.rs test that creating a 2nd mutable ref from a NonNull invalidates the first 2019-04-18 14:43:25 +02:00
outdated_local.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
pass_invalid_mut.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
pass_invalid_shr.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
pointer_smuggling.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
raw_tracking.rs enable track-raw-ptr tests on Windows 2020-12-11 11:28:33 +01:00
return_invalid_mut_option.rs make reborrow shallow, and fix tests for that 2019-08-02 08:09:22 +02:00
return_invalid_mut_tuple.rs make reborrow shallow, and fix tests for that 2019-08-02 08:09:22 +02:00
return_invalid_mut.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
return_invalid_shr_option.rs make reborrow shallow, and fix tests for that 2019-08-02 08:09:22 +02:00
return_invalid_shr_tuple.rs make reborrow shallow, and fix tests for that 2019-08-02 08:09:22 +02:00
return_invalid_shr.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
shared_rw_borrows_are_weak1.rs more tests -- also one showing why we are not done yet 2019-04-17 16:02:57 +02:00
shared_rw_borrows_are_weak2.rs more tests -- also one showing why we are not done yet 2019-04-17 16:02:57 +02:00
shr_frozen_violation1.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
static_memory_modification.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
transmute-is-no-escape.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
unescaped_local.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
unescaped_static.rs test that we cannot access unescaped static memory with a raw ptr 2019-06-02 22:16:02 +02:00