1. 08 1月, 2015 1 次提交
  2. 06 1月, 2015 1 次提交
  3. 18 7月, 2014 1 次提交
    • P
      librustc: Remove cross-borrowing of `Box<T>` to `&T` from the language, · de70d763
      Patrick Walton 提交于
      except where trait objects are involved.
      
      Part of issue #15349, though I'm leaving it open for trait objects.
      Cross borrowing for trait objects remains because it is needed until we
      have DST.
      
      This will break code like:
      
          fn foo(x: &int) { ... }
      
          let a = box 3i;
          foo(a);
      
      Change this code to:
      
          fn foo(x: &int) { ... }
      
          let a = box 3i;
          foo(&*a);
      
      [breaking-change]
      de70d763
  4. 07 5月, 2014 1 次提交
    • P
      librustc: Remove `~EXPR`, `~TYPE`, and `~PAT` from the language, except · 090040bf
      Patrick Walton 提交于
      for `~str`/`~[]`.
      
      Note that `~self` still remains, since I forgot to add support for
      `Box<self>` before the snapshot.
      
      How to update your code:
      
      * Instead of `~EXPR`, you should write `box EXPR`.
      
      * Instead of `~TYPE`, you should write `Box<Type>`.
      
      * Instead of `~PATTERN`, you should write `box PATTERN`.
      
      [breaking-change]
      090040bf
  5. 12 2月, 2014 1 次提交
  6. 27 11月, 2013 2 次提交
  7. 19 5月, 2013 1 次提交
  8. 30 4月, 2013 1 次提交
  9. 30 3月, 2013 1 次提交
  10. 12 3月, 2013 1 次提交
  11. 08 3月, 2013 1 次提交
  12. 11 12月, 2012 1 次提交
  13. 10 7月, 2012 1 次提交
  14. 02 7月, 2012 1 次提交
  15. 01 7月, 2012 1 次提交
  16. 30 6月, 2012 1 次提交
  17. 16 6月, 2012 1 次提交
  18. 09 6月, 2012 1 次提交
  19. 08 6月, 2012 2 次提交
  20. 17 5月, 2012 1 次提交
  21. 11 5月, 2012 1 次提交
  22. 10 5月, 2012 1 次提交