• M
    First take on an alias-safety checker · 4bd5f834
    Marijn Haverbeke 提交于
    The alias checker works by ensuring that any value to which an alias
    is created is rooted in some way that ensures it outlives the alias.
    
    It is now disallowed to create an alias to the content of a mutable
    box, or to a box hanging off a mutable field. There is also machinery
    in place to prevent assignment to local variables whenever they are
    the root of a live alias.
    4bd5f834
unsafe-alt.rs 225 字节