1. 17 1月, 2021 1 次提交
  2. 16 1月, 2021 18 次提交
  3. 15 1月, 2021 21 次提交
    • B
      Auto merge of #80974 - ehuss:update-cargo, r=ehuss · e48eb37b
      bors 提交于
      Update cargo
      
      10 commits in 329895f5b52a358e5d9ecb26215708b5cb31d906..a73e5b7d567c3036b296fc6b33ed52c5edcd882e
      2021-01-06 00:01:52 +0000 to 2021-01-12 23:45:39 +0000
      - Sort available binaries when multiple (rust-lang/cargo#9066)
      - Fix misspelling of environment variable (rust-lang/cargo#9067)
      - Remove statement that opt-level 0 turns on debug (rust-lang/cargo#9070)
      - Fix `links` vars showing up for testing packages (rust-lang/cargo#9065)
      - Fix unit_for computation on proc-macros in shared workspace. (rust-lang/cargo#9059)
      - Document `could not find the github team` error on `cargo owner --add` (rust-lang/cargo#9000)
      - Unstable section of cargo/config.toml takes bools (rust-lang/cargo#9057)
      - [doc] add note about empty environment variables for missing manifest keys (rust-lang/cargo#9053)
      - another round of clippy lint fixes (rust-lang/cargo#9051)
      - Updated display message of cargo metadata --help (rust-lang/cargo#9050)
      e48eb37b
    • B
      Auto merge of #80625 - jyn514:python-what-python, r=Mark-Simulacrum · 18ec4a9a
      bors 提交于
      Choose the version of python at runtime (portable version)
      
      r? `@Mark-Simulacrum`
      
      Fixed version of https://github.com/rust-lang/rust/pull/80585. The goal is to avoid giving 'error: python3 required' when downloading LLVM from CI and instead default to python3 where possible.
      
      This has some minor overhead when you have `python` as python2, but almost nothing compared to actually running the build.
      18ec4a9a
    • B
      Auto merge of #81035 - JohnTitor:rollup-9m03awf, r=JohnTitor · 4e208f6a
      bors 提交于
      Rollup of 5 pull requests
      
      Successful merges:
      
       - #80254 (Don't try to add nested predicate to Rustdoc auto-trait `ParamEnv`)
       - #80834 (Remove unreachable panics from VecDeque::{front/back}[_mut])
       - #80944 (Use Option::map_or instead of `.map(..).unwrap_or(..)`)
       - #81008 (Don't ICE when computing a layout of a generator tainted by errors)
       - #81023 (Remove doctree::Variant)
      
      Failed merges:
      
       - #81033 (Remove useless `clean::Variant` struct)
      
      r? `@ghost`
      `@rustbot` modify labels: rollup
      4e208f6a
    • Y
      Rollup merge of #81023 - CraftSpider:rustdoc-remove-variant, r=jyn514 · 7286be15
      Yuki Okushi 提交于
      Remove doctree::Variant
      
      This was easy, probably was missed when whatever used it was removed
      7286be15
    • Y
      Rollup merge of #81008 - tmiasko:generator-layout-err, r=tmandry · ce06df2e
      Yuki Okushi 提交于
      Don't ICE when computing a layout of a generator tainted by errors
      
      Fixes #80998.
      ce06df2e
    • Y
      Rollup merge of #80944 - LingMan:map_or, r=nagisa · a584d874
      Yuki Okushi 提交于
      Use Option::map_or instead of `.map(..).unwrap_or(..)`
      
      ``@rustbot`` modify labels +C-cleanup +T-compiler
      a584d874
    • Y
      Rollup merge of #80834 - bugadani:vecdeque, r=oli-obk · 1b8fd02d
      Yuki Okushi 提交于
      Remove unreachable panics from VecDeque::{front/back}[_mut]
      
      `VecDeque`'s `front`, `front_mut`, `back` and `back_mut` methods are implemented in terms of the index operator, which causes these functions to contain [unreachable panic calls](https://rust.godbolt.org/z/MTnq1o).
      
      This PR reimplements these methods in terms of `get[_mut]` instead.
      1b8fd02d
    • Y
      Rollup merge of #80254 - Aaron1011:rustdoc-auto-param-env, r=estebank · 0dedc6c0
      Yuki Okushi 提交于
      Don't try to add nested predicate to Rustdoc auto-trait `ParamEnv`
      
      Fixes #80233
      
      We already have logic in `evaluate_predicates` that tries to add
      unimplemented predicates to our `ParamEnv`. Trying to add a predicate
      that already holds can lead to errors later on, since projection
      will prefer trait candidates from the `ParamEnv` to predicates from an
      impl.
      0dedc6c0
    • B
      Auto merge of #80993 - Aaron1011:collect-set-tokens, r=petrochenkov · dcf622eb
      bors 提交于
      Set tokens on AST node in `collect_tokens`
      
      A new `HasTokens` trait is introduced, which is used to move logic from
      the callers of `collect_tokens` into the body of `collect_tokens`.
      
      In addition to reducing duplication, this paves the way for PR #80689,
      which needs to perform additional logic during token collection.
      dcf622eb
    • E
      Use probe-stack=inline-asm in LLVM 11+ · cd258072
      Erik Desjardins 提交于
      cd258072
    • B
      Auto merge of #81027 - Xanewok:update-rls, r=calebcartwright · 3419da89
      bors 提交于
      Update RLS and Rustfmt
      
      Fixes #80576
      
      Updates Rustfmt to use `rustfmt-v1.4.31` branch. Both are updated (along with `racer`) in tandem to pull in the exact same version of rustc-ap-* libraries.
      
      r? `@calebcartwright`
      3419da89
    • J
      Choose the version of python at runtime (portable version) · c8cac2a2
      Joshua Nelson 提交于
      - Try `py -3` first for windows compatibility
      - Fall back to `python3` if `py` doesn't work
      c8cac2a2
    • E
      Update mdbook · f1fa9e9a
      Eric Huss 提交于
      f1fa9e9a
    • I
      ...and update Cargo.lock again · 3ac464fb
      Igor Matuszewski 提交于
      3ac464fb
    • I
      c4735063
    • I
      Update RLS and Rustfmt · d72ea1b1
      Igor Matuszewski 提交于
      d72ea1b1
    • T
      inline: Round word-size cost estimates up · a65c0503
      Tomasz Miąsko 提交于
      a65c0503
    • R
      Remove doctree::Variant · c54678ab
      Rune Tynan 提交于
      c54678ab
    • B
      Auto merge of #81018 - m-ou-se:rollup-7202dc7, r=m-ou-se · e38fb306
      bors 提交于
      Rollup of 17 pull requests
      
      Successful merges:
      
       - #79982 (Add missing methods to unix ExitStatusExt)
       - #80017 (Suggest `_` and `..` if a pattern has too few fields)
       - #80169 (Recommend panic::resume_unwind instead of panicking.)
       - #80217 (Add a `std::io::read_to_string` function)
       - #80444 (Add as_ref and as_mut methods for Bound)
       - #80567 (Add Iterator::intersperse_with)
       - #80829 (Get rid of `DepConstructor`)
       - #80895 (Fix handling of malicious Readers in read_to_end)
       - #80966 (Deprecate atomic::spin_loop_hint in favour of hint::spin_loop)
       - #80969 (Use better ICE message when no MIR is available)
       - #80972 (Remove unstable deprecated Vec::remove_item)
       - #80973 (Update books)
       - #80980 (Fixed incorrect doc comment)
       - #80981 (Fix -Cpasses=list and llvm version print with -vV)
       - #80985 (Fix stabilisation version of slice_strip)
       - #80990 (llvm: Remove the unused context from CreateDebugLocation)
       - #80991 (Fix formatting specifiers doc links)
      
      Failed merges:
      
       - #80944 (Use Option::map_or instead of `.map(..).unwrap_or(..)`)
      
      r? `@ghost`
      `@rustbot` modify labels: rollup
      e38fb306
    • D
      Remove unreachable panics from VecDeque · 744f885e
      Dániel Buga 提交于
      744f885e
    • L
      Use Option::map_or instead of `.map(..).unwrap_or(..)` · a56bffb4
      LingMan 提交于
      a56bffb4