1. 20 3月, 2016 6 次提交
    • T
      Alter E0412 help message wording · 1138866b
      tiehuis 提交于
      The initial wording does not make sense due to an extra 'to'.
      
      There are two potential candidates we can change this to:
       - 'you can import it into scope'
       - 'to import it into scope'
      
      In keeping the changes minimal, we choose the first, as this is more in line with the grammar of the extended candidates help message.
      1138866b
    • B
      Auto merge of #32362 - bluss:float-fast-math, r=eddyb · 02310fd3
      bors 提交于
      Fix floating point fast-math intrinsics
      
      The implementation did not handle the case where both operands were constants, which caused an llvm assertion:
      
      ```
      rustc: //buildslave//rust-buildbot//slave//nightly-dist-rustc-musl-linux//build//src//llvm//include/llvm/Support/Casting.h:237:
      typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::Instruction; Y = llvm::Value; typename llvm::cast_retty<X, Y*>::ret_type = llvm::Instruction*]:
      Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
      ```
      02310fd3
    • U
      Update float_math test to not use constants · ba89b255
      Ulrik Sverdrup 提交于
      ba89b255
    • U
    • B
      Auto merge of #32244 - Amanieu:compare_exchange_result, r=alexcrichton · 8eeb5062
      bors 提交于
      Change compare_exchange to return a Result<T, T>
      
      As per the discussion in #31767
      
      I also changed the feature name from `extended_compare_and_swap` to `compare_exchange`.
      
      r? @alexcrichton
      8eeb5062
    • B
      Auto merge of #32314 - alexcrichton:ascii-fun, r=aturon · 151be093
      bors 提交于
      std: Revert addition of `into_ascii_*` methods
      
      The addition of these methods in #31335 required adding impls of the trait for
      the `String` and `Vec<T>` types. This unfortunately caused a regression (#32074)
      in type inference for using these methods which the libs team has decided to not
      push forward with. These methods were stabilized in #32020 which was intended to
      get backported to beta, but the backport hasn't happened just yet. This commit
      reverts both the addition and stabilization of these methods.
      
      One proposed method of handling this, in #32076, was to move the methods to an
      extra trait to avoid conflicts with type inference. After some discussion,
      however, the libs team concluded that we probably want to reevaluate what we're
      doing here, so discussion will continue on the tracking issue, #27809.
      
      Closes #32074
      151be093
  2. 19 3月, 2016 28 次提交
  3. 18 3月, 2016 6 次提交