1. 24 4月, 2020 1 次提交
  2. 22 4月, 2020 13 次提交
    • B
      Auto merge of #71410 - JohnTitor:rollup-vh6dut5, r=JohnTitor · 2dc5b602
      bors 提交于
      Rollup of 7 pull requests
      
      Successful merges:
      
       - #70998 (Suggest `-> impl Trait` and `-> Box<dyn Trait>` on fn that doesn't return)
       - #71236 (Remove unused rustc_serialize::hex module)
       - #71366 (Use assoc int consts3)
       - #71372 (Fix #! (shebang) stripping account space issue)
       - #71384 (Fix stage0.txt version number comment)
       - #71390 (Fix incorrect description of E0690)
       - #71399 (Clean up E0554 explanation)
      
      Failed merges:
      
      r? @ghost
      2dc5b602
    • Y
      Rollup merge of #71399 - rust-lang:cleanup-e0554, r=Dylan-DPC · 66eaead0
      Yuki Okushi 提交于
      Clean up E0554 explanation
      
      r? @Dylan-DPC
      66eaead0
    • Y
      Rollup merge of #71390 - aticu:master, r=Dylan-DPC · 3efa70fa
      Yuki Okushi 提交于
      Fix incorrect description of E0690
      
      r? @steveklabnik
      3efa70fa
    • Y
      Rollup merge of #71384 - RalfJung:RalfJung-patch-1, r=Mark-Simulacrum · 836a64a3
      Yuki Okushi 提交于
      Fix stage0.txt version number comment
      
      r? @Mark-Simulacrum
      836a64a3
    • Y
      Rollup merge of #71372 - ayushmishra2005:shebang_stripping, r=estebank · 46a8dcef
      Yuki Okushi 提交于
      Fix #! (shebang) stripping account space issue
      
       #70528
      46a8dcef
    • Y
      Rollup merge of #71366 - faern:use-assoc-int-consts3, r=dtolnay · f28e3873
      Yuki Okushi 提交于
      Use assoc int consts3
      
      Define module level int consts with associated constants instead of `min_value()` and `max_value()`. So the code become consistent with what the docs recommend etc. Seems natural.
      
      Also remove the last usages of the int module constants from this repo (except src/test/ directory which I have still not really done anything in). Some places were missed in the previous PRs because the code uses `crate::<IntTy>` to reach the constants.
      
      This is a continuation of #70857
      
      r? @dtolnay
      f28e3873
    • Y
      Rollup merge of #71236 - sinkuu:cleanup, r=nikomatsakis · 567e54fc
      Yuki Okushi 提交于
      Remove unused rustc_serialize::hex module
      
      * Remove unused `rustc_serialize::hex` module
      * Cleanup `Cargo.toml`
      567e54fc
    • Y
      Rollup merge of #70998 - estebank:suggest-impl-trait-empty-fn, r=varkor · 24fb3932
      Yuki Okushi 提交于
      Suggest `-> impl Trait` and `-> Box<dyn Trait>` on fn that doesn't return
      
      During development, a function could have a return type set that is a
      bare trait object by accident. We already suggest using either a boxed
      trait object or `impl Trait` if the return paths will allow it. We now
      do so too when there are *no* return paths or they all resolve to `!`.
      We still don't handle cases where the trait object is *not* the entirety
      of the return type gracefully.
      
      Closes #38376.
      24fb3932
    • B
      Auto merge of #71402 - ehuss:update-cargo, r=ehuss · 70f4f320
      bors 提交于
      Update cargo, rls
      
      ## cargo
      
      17 commits in ebda5065ee8a1e46801380abcbac21a25bc7e755..8751eb3010d4cdb5329b5a6bd2b6d765c95b0dca
      2020-04-16 14:28:43 +0000 to 2020-04-21 18:04:35 +0000
      - Uplift windows gnu DLL import libraries. (rust-lang/cargo#8141)
      - Add windows-gnu CI and fix tests (rust-lang/cargo#8139)
      - Several updates to token/index handling. (rust-lang/cargo#7973)
      - Add `resolver` opt-in for new feature resolver. (rust-lang/cargo#8129)
      - Improve error message when running `cargo install .` (rust-lang/cargo#8137)
      - fix mem replace unused (rust-lang/cargo#8138)
      - Change `-Cembed-bitcode=no` use to `-Cbitcode-in-rlib=no`. (rust-lang/cargo#8134)
      - Refactor BuildContext (rust-lang/cargo#8068)
      - Rename allows_underscores to allows_dashes. (rust-lang/cargo#8135)
      - Fixed a needless borrow. (rust-lang/cargo#8130)
      - Add link to changelog in the Cargo book. (rust-lang/cargo#8126)
      - Fix target for doc test cross compilation (rust-lang/cargo#8094)
      - Add note about .cargo/config support. (rust-lang/cargo#8125)
      - Fix pdb uplift when executable has dashes. (rust-lang/cargo#8123)
      - Hint upgrading for future edition keys (rust-lang/cargo#8122)
      - Use some fs shorthand functions. (rust-lang/cargo#8124)
      - Update documentation to mention "config.toml" instead of "config" (rust-lang/cargo#8121)
      
      ## rls
      
      1 commits in 2659cbf14bfb0929a16d7ce9b6858d0bb286ede7..7de2a1f299f8744ffe109139f9f1fdf28bfec909
      2020-04-14 22:07:24 +0200 to 2020-04-19 22:41:55 +0000
      - Update cargo (rust-lang-nursery/rls#1663)
      70f4f320
    • E
      Update cargo, rls · da2eb65d
      Eric Huss 提交于
      da2eb65d
    • G
      Clean up E0554 explanation · 410fc9da
      Guillaume Gomez 提交于
      410fc9da
    • A
      Minor refactoring · 1b362cd1
      Ayush Kumar Mishra 提交于
      1b362cd1
    • A
      Fix incorrect description of E0690 · e2901c48
      aticu 提交于
      e2901c48
  3. 21 4月, 2020 26 次提交