1. 26 5月, 2016 7 次提交
  2. 25 5月, 2016 11 次提交
  3. 24 5月, 2016 12 次提交
    • G
      Rollup merge of #33810 - tmr232:patch-1, r=Manishearth · 46138352
      Guillaume Gomez 提交于
      Fixed link in Rust Book (no-stdlib)
      
      Closes #33806
      46138352
    • G
      Rollup merge of #33797 - alex-ozdemir:rustdoc, r=GuillaumeGomez · 1e4a77be
      Guillaume Gomez 提交于
      Changed toggle all sections key to `T`
      
      Allows both `T` and `t`.
      
      It had been [Shift]+[+] before.
      
      In response to #33791.
      
      cc @Manishearth
      r? @GuillaumeGomez
      1e4a77be
    • G
      Rollup merge of #33781 - GuillaumeGomez:err-codes, r=steveklabnik · 5e0d4930
      Guillaume Gomez 提交于
      Add new error code tests
      
      r? @steveklabnik
      5e0d4930
    • G
      Rollup merge of #33779 - GuillaumeGomez:repr-simd, r=steveklabnik · 94b16f12
      Guillaume Gomez 提交于
      Update repr_simd
      
      r? @steveklabnik
      94b16f12
    • G
      Rollup merge of #33759 - aakloxu:patch-2, r=steveklabnik · 66faadaf
      Guillaume Gomez 提交于
      Fix references links
      
      There are duplicate link references in the article and just remove one of them.
      66faadaf
    • G
      Rollup merge of #33692 - nham:fix_E0207, r=GuillaumeGomez · 890c3f96
      Guillaume Gomez 提交于
      Improve the long explanation of E0207.
      
      The previous explanation does not seem to explain what it means for an
      implementation parameter to be used or unused. The new explanation lists
      the three ways specific ways by which an impl parameter becomes constrained
      (taken from RFC 447).
      
      This also adds a link to RFC 447.
      
      The explanation has two different examples. The first is adapted from RFC 447,
      and shows an instance of E0207 on a impl for a type. The second one is a trait
      impl example adapted from issue #22834.
      
      Closes #33650
      
      cc #32777
      
      r? @GuillaumeGomez
      890c3f96
    • L
      Avoid iterating two times over the list of LHSes. · 7d521445
      Leo Testard 提交于
      7d521445
    • L
      Make sure that macros that didn't pass LHS checking are not expanded. · eb364e9c
      Leo Testard 提交于
      This avoids duplicate errors for things like invalid fragment specifiers, or
      parsing errors for ambiguous macros. Fixes #29231.
      eb364e9c
    • B
      Auto merge of #33787 - cuviper:local-rebuild, r=alexcrichton · dd6e8d45
      bors 提交于
      Add --enable-local-rebuild to bootstrap from the current release
      
      In Linux distributions, it is often necessary to rebuild packages for cases like applying new patches or linking against new system libraries.  In this scenario, the rustc in the distro build environment may already match the current release that we're trying to rebuild.  Thus we don't want to use the prior release's bootstrap key, nor `--cfg stage0` for the prior unstable features.
      
      The new `configure --enable-local-rebuild` option specifies that we are rebuilding from the current release.  The current bootstrap key is used for the local rustc, and current stage1 features are also assumed.  Both the makefiles and rustbuild support this configuration.
      
      Fixes #29556
      r? @alexcrichton
      dd6e8d45
    • B
      Auto merge of #33664 - huonw:abs_sub, r=alexcrichton · 57ef0151
      bors 提交于
      Deprecate {f32,f64}::abs_sub.
      
      The abs_sub name is misleading: the function actually computes the
      positive difference (`fdim` in C), not the `(x - y).abs()` that *many* people expect
      from the name.
      
      This function can be replaced with just `(x - y).max(0.0)`, mirroring
      the `abs` version, but this behaves differently with NAN: `NAN.max(0.0)
      == 0.0`, while `NAN.positive_diff(0.0) == NAN`. People who absolutely
      need that behaviour can use the C function directly and/or talk to the libs
      team (we haven't encountered a concrete use-case for this functionality).
      
      Closes #30315.
      57ef0151
    • N
      Improve the long explanation of E0207. · 7d784363
      Nick Hamann 提交于
      The previous explanation does not seem to explain what it means for an
      implementation parameter to be used or unused. The new explanation lists
      the three ways specific ways by which an impl parameter becomes constrained
      (taken from RFC 447).
      
      This also adds a link to RFC 447.
      
      The explanation has two different examples. The first is adapted from RFC 447,
      and shows an instance of E0207 on a impl for a type. The second one is a trait
      impl example adapted from issue #22834.
      
      Closes #33650
      7d784363
    • J
      bootstrap: rename Config.rebuild to .local_rebuild · 0ca7d3dc
      Josh Stone 提交于
      0ca7d3dc
  4. 23 5月, 2016 9 次提交
    • B
      Auto merge of #33735 - jseyfried:concat_idents_in_ty_positions, r=nrc · 1ccada6c
      bors 提交于
      Allow `concat_idents!` in type positions as well as in expression positions
      
      This allows the `concat_idents!` macro in type positions as well as in expression positions.
      r? @nrc
      1ccada6c
    • T
      Fixed link in Rust Book (no-stdlib) · bb94e6a7
      Tamir Bahar 提交于
      Fix a broken link in the rust book.
      bb94e6a7
    • B
      Auto merge of #33098 - raphlinus:master, r=alexcrichton · 4c6b6c20
      bors 提交于
      Efficient trie lookup for boolean Unicode properties
      
      Replace binary search of ranges with trie lookup using leaves of
      64-bit bitmap chunks. Benchmarks suggest this is approximately 10x
      faster than the bsearch approach.
      4c6b6c20
    • B
      Auto merge of #31457 - lambda:rtabort-use-libc-abort, r=alexcrichton · 6e455640
      bors 提交于
      Use libc::abort, not intrinsics::abort, in rtabort!
      
      intrinsics::abort compiles down to an illegal instruction, which on
      Unix-like platforms causes the process to be killed with SIGILL.  A more
      appropriate way to kill the process would be SIGABRT; this indicates
      better that the runtime has explicitly aborted, rather than some kind of
      compiler bug or architecture mismatch that SIGILL might indicate.
      
      For rtassert!, replace this with libc::abort.  libc::abort raises
      SIGABRT, but is defined to do so in such a way that it will terminate
      the process even if SIGABRT is currently masked or caught by a signal
      handler that returns.
      
      On non-Unix platforms, retain the existing behavior.  On Windows we
      prefer to avoid depending on the C runtime, and we need a fallback for
      any other platforms that may be defined.  An alternative on Windows
      would be to call TerminateProcess, but this seems less essential than
      switching to using SIGABRT on Unix-like platforms, where it is common
      for the process-killing signal to be printed out or logged.
      
      This is a [breaking-change] for any code that depends on the exact
      signal raised to abort a process via rtabort!
      
      cc #31273
      cc #31333
      6e455640
    • B
      Use libc::abort, not intrinsics::abort, in rtabort! · cfc38658
      Brian Campbell 提交于
      intrinsics::abort compiles down to an illegal instruction, which on
      Unix-like platforms causes the process to be killed with SIGILL.  A more
      appropriate way to kill the process would be SIGABRT; this indicates
      better that the runtime has explicitly aborted, rather than some kind of
      compiler bug or architecture mismatch that SIGILL might indicate.
      
      For rtassert!, replace this with libc::abort.  libc::abort raises
      SIGABRT, but is defined to do so in such a way that it will terminate
      the process even if SIGABRT is currently masked or caught by a signal
      handler that returns.
      
      On non-Unix platforms, retain the existing behavior.  On Windows we
      prefer to avoid depending on the C runtime, and we need a fallback for
      any other platforms that may be defined.  An alternative on Windows
      would be to call TerminateProcess, but this seems less essential than
      switching to using SIGABRT on Unix-like platforms, where it is common
      for the process-killing signal to be printed out or logged.
      
      This is a [breaking-change] for any code that depends on the exact
      signal raised to abort a process via rtabort!
      
      cc #31273
      cc #31333
      cfc38658
    • A
      Fixed shortcut handling. Reverted to [Shift]+[+=] · 57ab0eda
      Alex Ozdemir 提交于
      Realized browsers use [Ctrl]+[+=] for zoom, so using [Shift]+[+=] for
      collapse/expand was not necessarily a conflict.
      
      Also a bugfix.
      57ab0eda
    • G
      Don't suggest using fields in a static method · 145747eb
      ggomez 提交于
      145747eb
    • A
      Changed toggle all sections key to `T` · 01dc9f0b
      Alex Ozdemir 提交于
      Allows both `T` and `t`.
      
      It had been [Shift]+[+] before.
      01dc9f0b
    • G
      Add new error code tests · 62e38710
      ggomez 提交于
      62e38710
  5. 22 5月, 2016 1 次提交