Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disallow writing through mutable pointers stored in non-mut Box. #23859

Merged
merged 5 commits into from
Mar 31, 2015

Commits on Mar 30, 2015

  1. Mucho debug instrumentation.

    pnkfelix committed Mar 30, 2015
    Configuration menu
    Copy the full SHA
    aa13981 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0705e6a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    492b3b1 View commit details
    Browse the repository at this point in the history
  4. Address Issue 14270 by making cmt::freely_aliasable result more fin…

    …e-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-aliasble (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.
    pnkfelix committed Mar 30, 2015
    Configuration menu
    Copy the full SHA
    f513380 View commit details
    Browse the repository at this point in the history
  5. Fallout to test.

    pnkfelix committed Mar 30, 2015
    Configuration menu
    Copy the full SHA
    e434053 View commit details
    Browse the repository at this point in the history