1. 18 1月, 2015 1 次提交
  2. 16 1月, 2015 1 次提交
  3. 13 1月, 2015 3 次提交
  4. 09 1月, 2015 1 次提交
  5. 08 1月, 2015 3 次提交
  6. 07 1月, 2015 3 次提交
    • S
      core: split into fmt::Show and fmt::String · 44440e5c
      Sean McArthur 提交于
      fmt::Show is for debugging, and can and should be implemented for
      all public types. This trait is used with `{:?}` syntax. There still
      exists #[derive(Show)].
      
      fmt::String is for types that faithfully be represented as a String.
      Because of this, there is no way to derive fmt::String, all
      implementations must be purposeful. It is used by the default format
      syntax, `{}`.
      
      This will break most instances of `{}`, since that now requires the type
      to impl fmt::String. In most cases, replacing `{}` with `{:?}` is the
      correct fix. Types that were being printed specifically for users should
      receive a fmt::String implementation to fix this.
      
      Part of #20013
      
      [breaking-change]
      44440e5c
    • N
      Replace full slice notation with index calls · f7ff37e4
      Nick Cameron 提交于
      f7ff37e4
    • C
      syntax/rustc: implement isize/usize · abcbe276
      Corey Richardson 提交于
      abcbe276
  7. 06 1月, 2015 2 次提交
  8. 05 1月, 2015 2 次提交
    • H
      Change `&` pat to only work with &T, and `&mut` with &mut T. · bf6c0077
      Huon Wilson 提交于
      This implements RFC 179 by making the pattern `&<pat>` require matching
      against a variable of type `&T`, and introducing the pattern `&mut
      <pat>` which only works with variables of type `&mut T`.
      
      The pattern `&mut x` currently parses as `&(mut x)` i.e. a pattern match
      through a `&T` or a `&mut T` that binds the variable `x` to have type
      `T` and to be mutable. This should be rewritten as follows, for example,
      
          for &mut x in slice.iter() {
      
      becomes
      
          for &x in slice.iter() {
              let mut x = x;
      
      Due to this, this is a
      
      [breaking-change]
      
      Closes #20496.
      bf6c0077
    • H
      Rename `core::char::Char` to `CharExt` to match prelude guidelines. · 19120209
      Huon Wilson 提交于
      Imports may need to be updated so this is a
      
      [breaking-change]
      19120209
  9. 04 1月, 2015 3 次提交
  10. 01 1月, 2015 1 次提交
  11. 31 12月, 2014 1 次提交
  12. 30 12月, 2014 4 次提交
  13. 29 12月, 2014 2 次提交
  14. 26 12月, 2014 1 次提交
  15. 25 12月, 2014 3 次提交
  16. 24 12月, 2014 1 次提交
    • J
      Support all variants of WherePredicate · 6948a2df
      Jared Roesch 提交于
      Adds support for all variants of ast::WherePredicate in clean/mod.rs. Fixes #20048, but will need modification when EqualityPredicates are fully implemented in #20041.
      6948a2df
  17. 23 12月, 2014 1 次提交
  18. 22 12月, 2014 1 次提交
    • A
      serialize: Fully deprecate the library · a76a8027
      Alex Crichton 提交于
      This commit completes the deprecation story for the in-tree serialization
      library. The compiler will now emit a warning whenever it encounters
      `deriving(Encodable)` or `deriving(Decodable)`, and the library itself is now
      marked `#[unstable]` for when feature staging is enabled.
      
      All users of serialization can migrate to the `rustc-serialize` crate on
      crates.io which provides the exact same interface as the libserialize library
      in-tree. The new deriving modes are named `RustcEncodable` and `RustcDecodable`
      and require `extern crate "rustc-serialize" as rustc_serialize` at the crate
      root in order to expand correctly.
      
      To migrate all crates, add the following to your `Cargo.toml`:
      
          [dependencies]
          rustc-serialize = "0.1.1"
      
      And then add the following to your crate root:
      
          extern crate "rustc-serialize" as rustc_serialize;
      
      Finally, rename `Encodable` and `Decodable` deriving modes to `RustcEncodable`
      and `RustcDecodable`.
      
      [breaking-change]
      a76a8027
  19. 20 12月, 2014 1 次提交
  20. 19 12月, 2014 4 次提交
  21. 15 12月, 2014 1 次提交