1. 26 8月, 2012 1 次提交
  2. 24 8月, 2012 1 次提交
  3. 23 8月, 2012 1 次提交
  4. 18 8月, 2012 1 次提交
  5. 07 8月, 2012 1 次提交
  6. 06 8月, 2012 1 次提交
  7. 03 8月, 2012 1 次提交
    • N
      Remove modes from map API and replace with regions. · 97452c0c
      Niko Matsakis 提交于
      API is (for now) mostly by value, there are options to use it by
      reference if you like.  Hash and equality functions must be pure
      and by reference (forward looking to the day when something
      like send_map becomes the standard map).
      97452c0c
  8. 02 8月, 2012 1 次提交
  9. 31 7月, 2012 2 次提交
    • P
      a9cc5066
    • N
      Fix #2979: inference for lifetimes of & expressions · 5d32d03b
      Niko Matsakis 提交于
      What we now do is to create a region variable for each &
      expression (and also each borrow).  The lifetime of this
      variable will be checked by borrowck to ensure it is not greater
      than the lifetime of the underlying data.  This both leads to
      shorter lifetimes in some cases but also longer in others,
      such as taking the address to the interior of unique boxes
      tht are rooted in region pointers (e.g., returning a pointer
      to the interior of a sendable map).
      
      This may lead to issue #2977 if the rvalue is not POD, because
      we may drop the data in trans sooner than borrowck expects us
      to.  Need to work out precisely where that fix ought to occur.
      5d32d03b
  10. 28 7月, 2012 1 次提交
  11. 26 7月, 2012 1 次提交