1. 03 12月, 2019 3 次提交
  2. 02 12月, 2019 30 次提交
  3. 01 12月, 2019 7 次提交
    • R
      4b81dd43
    • T
      Conditional compilation for sanitizers · c703ff26
      Tomasz Miąsko 提交于
      Configure sanitize option when compiling with a sanitizer to make
      it possible to execute different code depending on whether given
      sanitizer is enabled or not.
      c703ff26
    • B
      Auto merge of #66917 - Centril:rollup-xj2enik, r=Centril · 4007d4ef
      bors 提交于
      Rollup of 9 pull requests
      
      Successful merges:
      
       - #66503 (More useful test error messages on should_panic(expected=...) mismatch)
       - #66662 (Miri: run panic-catching tests in liballoc)
       - #66679 (Improve lifetime errors with implicit trait object lifetimes)
       - #66726 (Use recursion_limit for const eval stack limit)
       - #66790 (Do `min_const_fn` checks for `SetDiscriminant`s target)
       - #66832 (const_prop: detect and avoid catching Miri errors that require allocation)
       - #66880 (Add long error code explanation message for E0203)
       - #66890 (Format liballoc with rustfmt)
       - #66896 (pass Queries to compiler callbacks)
      
      Failed merges:
      
      r? @ghost
      4007d4ef
    • M
      Rollup merge of #66896 - RalfJung:queries, r=Zoxc · bed4c09d
      Mazdak Farrokhzad 提交于
      pass Queries to compiler callbacks
      
      https://github.com/rust-lang/rust/pull/66791 made it impossible to access the tcx in the callbacks; this should fix that.
      
      r? @Zoxc
      bed4c09d
    • M
      Rollup merge of #66890 - dtolnay:fmt4, r=Dylan-DPC · 3db3f156
      Mazdak Farrokhzad 提交于
      Format liballoc with rustfmt
      
      Same strategy as #66691 -- as with my previous formatting PRs, I am avoiding causing merge conflicts in other PRs by only touches those files that are not involved in any currently open PR. Files that appear in new PRs between when this PR is opened and when it makes it to the top of the bors queue will be reverted from this PR.
      
      The list of files involved in open PRs is determined by querying GitHub's GraphQL API [with this script](https://gist.github.com/dtolnay/aa9c34993dc051a4f344d1b10e4487e8).
      
      With the list of files from the script in outstanding_files, the relevant commands were:
      
      ```
      $ find src/liballoc -name '*.rs' \
          | xargs rustfmt --edition=2018 --unstable-features --skip-children
      $ rg liballoc outstanding_files | xargs git checkout --
      ```
      
      To confirm no funny business:
      
      ```
      $ git checkout $THIS_COMMIT^
      $ git show --pretty= --name-only $THIS_COMMIT \
          | xargs rustfmt --edition=2018 --unstable-features --skip-children
      $ git diff $THIS_COMMIT  # there should be no difference
      ```
      
      r? @Dylan-DPC
      3db3f156
    • M
      Rollup merge of #66880 - aDotInTheVoid:add-E0203-long, r=GuillaumeGomez · d4f59564
      Mazdak Farrokhzad 提交于
      Add long error code explanation message for E0203
      
      Addressed some of #61137
      
      r? @GuillaumeGomez
      d4f59564
    • M
      Rollup merge of #66832 - RalfJung:const-prop-no-alloc, r=oli-obk · d91e63b7
      Mazdak Farrokhzad 提交于
      const_prop: detect and avoid catching Miri errors that require allocation
      
      r? @wesleywiser @oli-obk
      d91e63b7