diff options
| author | bors <bors@rust-lang.org> | 2014-05-30 12:41:39 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-05-30 12:41:39 -0700 |
| commit | e5e865b8044cef76bd33ba268a8cdea8a401c96c (patch) | |
| tree | fa00c7d2eaee3d4a7f72992fd6562b0a8d6a72a5 /src/test/compile-fail/deriving-span-Ord-tuple-struct.rs | |
| parent | 24e489f1e1326208aecabf390879c2320f212b7c (diff) | |
| parent | 5aff0e7cec9a3833ea67477bca13efcb4d950db7 (diff) | |
| download | rust-e5e865b8044cef76bd33ba268a8cdea8a401c96c.tar.gz rust-e5e865b8044cef76bd33ba268a8cdea8a401c96c.zip | |
auto merge of #14536 : zwarich/rust/issue-14498, r=luqmana
Make check_for_assignment_to_restricted_or_frozen_location treat mutation through an owning pointer the same way it treats mutation through an &mut pointer, where mutability must be inherited from the base path. I also included GC pointers in this check, as that is what the corresponding code in gather_loans/restrictions.rs does, but I don't think there is a way to test this with the current language. Fixes #14498.
Diffstat (limited to 'src/test/compile-fail/deriving-span-Ord-tuple-struct.rs')
0 files changed, 0 insertions, 0 deletions
