1. 28 3月, 2015 1 次提交
  2. 29 3月, 2015 10 次提交
    • B
      Auto merge of #23810 - sfackler:debug-collections, r=alexcrichton · 227b46bd
      bors 提交于
      The collections debug helpers no longer prefix output with the
      collection name, in line with the current conventions for Debug
      implementations. Implementations that want to preserve the current
      behavior can simply add a `try!(write!(fmt, "TypeName "));` at the
      beginning of the `fmt` method.
      
      [breaking-change]
      227b46bd
    • S
      Oops fix output examples · 3c0c8fc4
      Steven Fackler 提交于
      3c0c8fc4
    • B
      Auto merge of #23819 - pnkfelix:kill-unsafe-dtor, r=pnkfelix · 27af78c6
      bors 提交于
      Port of pcwalton removal of `#[unsafe_destructor]` check.
      
      Earlier commits impose rules on lifetimes that make generic destructors safe; thus we no longer need the `#[unsafe_destructor]` attribute nor its associated check.
      
      ----
      
      So remove the check for the unsafe_destructor attribute.
      
      And remove outdated compile-fail tests from when lifetime-parameteric dtors were disallowed/unsafe.
      
      In addition, when one uses the attribute without the associated feature, report that the attribute is deprecated.
      
      However, I do not think this is a breaking-change, because the attribute and feature are still currently accepted by the compiler. (After the next snapshot that has this commit, we can remove the feature itself and the attribute as well.)
      
      ----
      
      I consider this to:
      
      Fix #22196
      
      (technically there is still the post snapshot work of removing the last remnants of the feature and the attribute, but the ticket can still be closed in my opinion).
      27af78c6
    • F
      Port of pcwalton removal of `#[unsafe_destructor]` check. · 64c48f39
      Felix S. Klock II 提交于
      Earlier commits impose rules on lifetimes that make generic
      destructors safe; thus we no longer need the `#[unsafe_destructor]`
      attribute nor its associated check.
      
      ----
      
      So remove the check for the unsafe_destructor attribute.
      
      And remove outdated compile-fail tests from when lifetime-parameteric
      dtors were disallowed/unsafe.
      
      In addition, when one uses the attribute without the associated
      feature, report that the attribute is deprecated.
      
      However, I do not think this is a breaking-change, because the
      attribute and feature are still currently accepted by the compiler.
      (After the next snapshot that has this commit, we can remove the
      feature itself and the attribute as well.)
      
      ----
      
      I consider this to:
      
      Fix #22196
      
      (techincally there is still the post snapshot work of removing the
      last remants of the feature and the attribute, but the ticket can
      still be closed in my opinion).
      64c48f39
    • S
      Fold in debug builder doc examples · 842e6cf6
      Steven Fackler 提交于
      842e6cf6
    • B
      Auto merge of #23300 - sfackler:rm-iterator-ext, r=alexcrichton · c89de2c5
      bors 提交于
      All methods are inlined into Iterator with `Self: Sized` bounds to make
      sure Iterator is still object safe.
      
      [breaking-change]
      
      This is blocked on ICEs: https://gist.github.com/sfackler/5aff7c57cf8d896e2c6f
      Seem to be similar to #23281.
      c89de2c5
    • S
      Remove IteratorExt · d502f422
      Steven Fackler 提交于
      All methods are inlined into Iterator with `Self: Sized` bounds to make
      sure Iterator is still object safe.
      
      [breaking-change]
      d502f422
    • S
      Fold collections debug impls · b82bcec7
      Steven Fackler 提交于
      Also convert [T]'s Debug impl. The behavior of the alternate flag here's
      changing.
      b82bcec7
    • S
      Update debug helpers and add list builder · 4037f2a3
      Steven Fackler 提交于
      The collections debug helpers no longer prefix output with the
      collection name, in line with the current conventions for Debug
      implementations. Implementations that want to preserve the current
      behavior can simply add a `try!(write!(fmt, "TypeName "));` at the
      beginning of the `fmt` method.
      
      [breaking-change]
      4037f2a3
    • B
      Auto merge of #23807 - vhbit:ios-int-drop, r=alexcrichton · 01f2c67c
      bors 提交于
      None
      01f2c67c
  3. 28 3月, 2015 29 次提交