rust/src
Manish Goregaokar b4457fb8a2 Rollup merge of #23859 - pnkfelix:fsk-lesser-box, r=nikomatsakis
Disallow writing through mutable pointers stored in non-mut Box.

Fix #14270 

The fix works by making `cmt::freely_aliasable` result more fine-grained.

Instead of encoding the aliasability (i.e. whether the cmt is uniquely writable or not) as an option, now pass back an enum indicating either: 1. freely-aliasable (thus not uniquely-writable), 2. non-aliasable (thus uniquely writable), or 3. unique but immutable (and thus not uniquely writable, according to proposal from issue #14270.)

This is all of course a giant hack that will hopefully go away with an eventually removal of special treatment of `Box<T>` (aka `ty_unique`) from the compiler.
2015-03-31 09:04:38 +05:30
..
compiler-rt@58ab642c30 Updated compiler-rt 2015-01-09 18:38:30 +02:00
compiletest Test fixes and rebase conflicts, round 2 2015-03-27 13:43:42 -07:00
doc Rollup merge of #23839 - tyrion:patch-1, r=alexcrichton 2015-03-31 09:04:37 +05:30
driver Unquote all crate names without underscores 2015-03-27 10:58:12 -07:00
etc Fix some typos 2015-03-28 18:09:51 +03:00
grammar Strip all leading/trailing newlines 2015-03-15 09:08:21 -07:00
jemalloc@e24a1a025a bumping again to get the updated configure 2015-03-05 12:38:35 +05:30
liballoc Rollup merge of #23803 - richo:unused-braces, r=Manishearth 2015-03-28 18:12:06 +05:30
libarena Add trivial cast lints. 2015-03-25 10:03:57 +13:00
libbacktrace Strip trailing whitespace 2015-03-15 11:25:43 -07:00
libcollections Rollup merge of #23821 - nicholasbishop:bishop-slice-iter-typo-fix, r=alexcrichton 2015-03-29 18:22:16 +05:30
libcollectionstest Fallout where types must be specified. 2015-03-30 05:02:20 -04:00
libcore Rollup merge of #23836 - Hoverbear:patch-1, r=steveklabnik 2015-03-31 09:04:37 +05:30
libcoretest Update debug helpers and add list builder 2015-03-28 10:33:51 -07:00
libflate Require feature attributes, and add them where necessary 2015-03-23 14:40:26 -07:00
libfmt_macros fix for new attributes failing. issue #22964 2015-03-05 11:53:51 -05:00
libgetopts Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
libgraphviz Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
liblibc libc: Don't use unstable apis 2015-03-28 10:49:45 -07:00
liblog Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
librand Fallout where types must be specified. 2015-03-30 05:02:20 -04:00
librbml Fix some typos 2015-03-28 18:09:51 +03:00
librustc Rollup merge of #23859 - pnkfelix:fsk-lesser-box, r=nikomatsakis 2015-03-31 09:04:38 +05:30
librustc_back Fix some typos 2015-03-28 18:09:51 +03:00
librustc_bitflags Add #![feature] attributes to doctests 2015-03-23 14:40:26 -07:00
librustc_borrowck Rollup merge of #23859 - pnkfelix:fsk-lesser-box, r=nikomatsakis 2015-03-31 09:04:38 +05:30
librustc_driver Rollup merge of #23803 - richo:unused-braces, r=Manishearth 2015-03-28 18:12:06 +05:30
librustc_lint Rollup merge of #23852 - cmr:missing_doc, r=Manishearth 2015-03-31 09:04:37 +05:30
librustc_llvm rollup merge of #23741: alexcrichton/remove-int-uint 2015-03-27 10:10:05 -07:00
librustc_privacy Rollup merge of #23803 - richo:unused-braces, r=Manishearth 2015-03-28 18:12:06 +05:30
librustc_resolve Rollup merge of #23803 - richo:unused-braces, r=Manishearth 2015-03-28 18:12:06 +05:30
librustc_trans Implement new type-checking strategy for binary operators. Basically, 2015-03-30 04:59:56 -04:00
librustc_typeck Implement new type-checking strategy for binary operators. Basically, 2015-03-30 04:59:56 -04:00
librustdoc Rollup merge of #23846 - rayglover:patch-rustdoc-stderr, r=alexcrichton 2015-03-31 09:04:37 +05:30
libserialize Rollup merge of #23803 - richo:unused-braces, r=Manishearth 2015-03-28 18:12:06 +05:30
libstd Rollup merge of #23826 - richo:note-print-macro, r=alexcrichton 2015-03-31 09:04:37 +05:30
libsyntax Implement new type-checking strategy for binary operators. Basically, 2015-03-30 04:59:56 -04:00
libterm Mass rename uint/int to usize/isize 2015-03-26 12:10:22 -07:00
libtest s/THRADS/THREADS/ 2015-03-29 17:22:21 -04:00
libunicode Register new snapshots 2015-03-26 09:57:05 -07:00
llvm@bff6907697 updating llvm submodule to include bitrig support 2015-03-05 12:38:34 +05:30
rt Strip all leading/trailing newlines 2015-03-15 09:08:21 -07:00
rust-installer@49cc7f6fef Update rust-installer. Fixes --help and interop with NixOS 2015-03-26 16:09:46 -07:00
rustbook Add trivial cast lints. 2015-03-25 10:03:57 +13:00
rustllvm Drop support for LLVM < 3.5 and fix compile errors with 3.5 2015-03-14 13:14:04 +01:00
test Rollup merge of #23859 - pnkfelix:fsk-lesser-box, r=nikomatsakis 2015-03-31 09:04:38 +05:30
snapshots.txt Register new snapshots 2015-03-26 09:57:05 -07:00