rust/tests/compile-fail/stacked_borrows
2019-04-18 14:43:25 +02: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 adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
deallocate_against_barrier.rs barriers are dead, long live protectors -- this enables overlapping two-phase borrows! 2019-04-17 16:02:57 +02: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_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
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
load_invalid_mut.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
load_invalid_shr.rs adjust compile-fail error messages 2019-04-17 16:02:57 +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
return_invalid_mut_option.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
return_invalid_mut_tuple.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
return_invalid_mut.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
return_invalid_shr_option.rs adjust compile-fail error messages 2019-04-17 16:02:57 +02:00
return_invalid_shr_tuple.rs adjust compile-fail error messages 2019-04-17 16:02:57 +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