-
Notifications
You must be signed in to change notification settings - Fork 12.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 10 pull requests #79190
Rollup of 10 pull requests #79190
Commits on Nov 11, 2020
-
Add a sane error for rust-call functions not taking tuples during typ…
…e checking, and associated UI tests
Configuration menu - View commit details
-
Copy full SHA for 91eabf5 - Browse repository at this point
Copy the full SHA 91eabf5View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf04b04 - Browse repository at this point
Copy the full SHA bf04b04View commit details
Commits on Nov 12, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 1e9d5c7 - Browse repository at this point
Copy the full SHA 1e9d5c7View commit details
Commits on Nov 15, 2020
-
Add column number support to Backtrace
Backtrace frames might include column numbers. Print them if they are included.
Configuration menu - View commit details
-
Copy full SHA for 43bfbb1 - Browse repository at this point
Copy the full SHA 43bfbb1View commit details
Commits on Nov 16, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 2b7ffec - Browse repository at this point
Copy the full SHA 2b7ffecView commit details
Commits on Nov 17, 2020
-
Use
span_suggestion_verbose
instead ofspan_suggestion
forfn
w……ith qualifiers inside an `extern "C"` block
Configuration menu - View commit details
-
Copy full SHA for 92aa0e6 - Browse repository at this point
Copy the full SHA 92aa0e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8ed466 - Browse repository at this point
Copy the full SHA b8ed466View commit details -
Configuration menu - View commit details
-
Copy full SHA for c825c74 - Browse repository at this point
Copy the full SHA c825c74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42e45f8 - Browse repository at this point
Copy the full SHA 42e45f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8426a6 - Browse repository at this point
Copy the full SHA e8426a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c22c05 - Browse repository at this point
Copy the full SHA 2c22c05View commit details -
Configuration menu - View commit details
-
Copy full SHA for 614a748 - Browse repository at this point
Copy the full SHA 614a748View commit details -
Move capture lowering from THIR to MIR
This allows us to: - Handle precise Places captured by a closure directly in MIR. Handling captures in MIR is easier since we can rely on/ tweak PlaceBuilder to generate `mir::Place`s that resemble how we store captures (`hir::Place`). - Allows us to handle `let _ = x` case when feature `capture_disjoint_fields` is enabled directly in MIR. This is required to be done in MIR since patterns are desugared in MIR.
Configuration menu - View commit details
-
Copy full SHA for 7faebe5 - Browse repository at this point
Copy the full SHA 7faebe5View commit details -
Remove THIR::ExprKind::SelfRef
ExprKind::SelfRef was used to express accessing `self` in the desugared Closure/Generator struct when lowering captures in THIR. Since we handle captures in MIR now, we don't need `ExprKind::Self`.
Configuration menu - View commit details
-
Copy full SHA for 9f70e78 - Browse repository at this point
Copy the full SHA 9f70e78View commit details
Commits on Nov 18, 2020
-
Allow using
download-ci-llvm
from directories other than the rootPreviously, bootstrap.py would attempt to find the LLVM commit from `src/llvm-project`. However, it assumed it was always being run from the top-level directory, which isn't always the case. Before: ``` downloading https://ci-artifacts.rust-lang.org/rustc-builds//rust-dev-nightly-x86_64-unknown-linux-gnu.tar.gz curl: (22) The requested URL returned error: 404 failed to run: curl -# -y 30 -Y 10 --connect-timeout 30 --retry 3 -Sf -o /tmp/tmppyh4w8 https://ci-artifacts.rust-lang.org/rustc-builds//rust-dev-nightly-x86_64-unknown-linux-gnu.tar.gz Build completed unsuccessfully in 0:00:02 ``` After: ``` downloading https://ci-artifacts.rust-lang.org/rustc-builds/430feb24a46993e5073c1bb1b39da190d83fa2bf/rust-dev-nightly-x86_64-unknown-linux-gnu.tar.gz ###################################################################################################################################################################### 100.0% extracting /home/joshua/rustc/src/bootstrap/build/cache/llvm-430feb24a46993e5073c1bb1b39da190d83fa2bf-False/rust-dev-nightly-x86_64-unknown-linux-gnu.tar.gz ```
Configuration menu - View commit details
-
Copy full SHA for 5163912 - Browse repository at this point
Copy the full SHA 5163912View commit details -
Configuration menu - View commit details
-
Copy full SHA for efcbf1b - Browse repository at this point
Copy the full SHA efcbf1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85bc953 - Browse repository at this point
Copy the full SHA 85bc953View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2098ade - Browse repository at this point
Copy the full SHA 2098adeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3527964 - Browse repository at this point
Copy the full SHA 3527964View commit details -
Configuration menu - View commit details
-
Copy full SHA for c12e77b - Browse repository at this point
Copy the full SHA c12e77bView commit details
Commits on Nov 19, 2020
-
Rollup merge of rust-lang#77675 - Anthuang:tidy-line-length, r=Mark-S…
…imulacrum Tidy should not check line lengths in tests Tidy will not check line lengths in tests even without the `// ignore-tidy-linelength` annotations. This PR also removes all the annotations which are now unnecessary. Closes: rust-lang#77548
Configuration menu - View commit details
-
Copy full SHA for 956135c - Browse repository at this point
Copy the full SHA 956135cView commit details -
Rollup merge of rust-lang#78961 - CraftSpider:22565, r=oli-obk
Make bad "rust-call" arguments no longer ICE The simplest of bad rust-call definitions will no longer cause an ICE. There is a FIXME added for future work, as I wanted to get this easy fix in before trying to either add a hack or mess with the whole obligation system fixes rust-lang#22565
Configuration menu - View commit details
-
Copy full SHA for 517a33a - Browse repository at this point
Copy the full SHA 517a33aView commit details -
Rollup merge of rust-lang#79002 - est31:backtrace_colno, r=dtolnay
Add column number support to Backtrace Backtrace frames might include column numbers. Print them if they are included.
Configuration menu - View commit details
-
Copy full SHA for 424fdd8 - Browse repository at this point
Copy the full SHA 424fdd8View commit details -
Rollup merge of rust-lang#79082 - ThePuzzlemaker:issue-78941-fix, r=e…
…stebank Improve the diagnostic for when an `fn` contains qualifiers inside an `extern` block. This mitigates rust-lang#78941. As suggested by ``@estebank,`` `span_suggestion` was replaced with `span_suggestion_verbose` for this specific diagnostic.
Configuration menu - View commit details
-
Copy full SHA for 60a6e17 - Browse repository at this point
Copy the full SHA 60a6e17View commit details -
Rollup merge of rust-lang#79101 - tmiasko:lower-func-type, r=jonas-sc…
…hievink Don't special case constant operands when lowering intrinsics
Configuration menu - View commit details
-
Copy full SHA for 773ca5e - Browse repository at this point
Copy the full SHA 773ca5eView commit details -
Rollup merge of rust-lang#79110 - estebank:issue-58964, r=oli-obk
Remove redundant notes in E0275 Fix rust-lang#58964.
Configuration menu - View commit details
-
Copy full SHA for 42ab0d3 - Browse repository at this point
Copy the full SHA 42ab0d3View commit details -
Rollup merge of rust-lang#79147 - camelid:mir-gitattributes, r=oli-obk
Highlight MIR as Rust on GitHub
Configuration menu - View commit details
-
Copy full SHA for a35eb22 - Browse repository at this point
Copy the full SHA a35eb22View commit details -
Rollup merge of rust-lang#79149 - sexxi-goose:upvar_ref, r=nikomatsakis
Move capture lowering from THIR to MIR This allows us to: - Handle precise Places captured by a closure directly in MIR. Handling captures in MIR is easier since we can rely on/ tweak PlaceBuilder to generate `mir::Place`s that resemble how we store captures (`hir::Place`). - Handle `let _ = x` case when feature `capture_disjoint_fields` is enabled directly in MIR. This is required to be done in MIR since patterns are desugared in MIR. Closes: rust-lang/project-rfc-2229#25 r? ``@nikomatsakis``
Configuration menu - View commit details
-
Copy full SHA for 843720b - Browse repository at this point
Copy the full SHA 843720bView commit details -
Rollup merge of rust-lang#79156 - jyn514:relative-llvm, r=Mark-Simula…
…crum Allow using `download-ci-llvm` from directories other than the root Previously, bootstrap.py would attempt to find the LLVM commit from `src/llvm-project`. However, it assumed it was always being run from the top-level directory, which isn't always the case. Before: ``` downloading https://ci-artifacts.rust-lang.org/rustc-builds//rust-dev-nightly-x86_64-unknown-linux-gnu.tar.gz curl: (22) The requested URL returned error: 404 failed to run: curl -# -y 30 -Y 10 --connect-timeout 30 --retry 3 -Sf -o /tmp/tmppyh4w8 https://ci-artifacts.rust-lang.org/rustc-builds//rust-dev-nightly-x86_64-unknown-linux-gnu.tar.gz Build completed unsuccessfully in 0:00:02 ``` After: ``` downloading https://ci-artifacts.rust-lang.org/rustc-builds/430feb24a46993e5073c1bb1b39da190d83fa2bf/rust-dev-nightly-x86_64-unknown-linux-gnu.tar.gz ###################################################################################################################################################################### 100.0% extracting /home/joshua/rustc/src/bootstrap/build/cache/llvm-430feb24a46993e5073c1bb1b39da190d83fa2bf-False/rust-dev-nightly-x86_64-unknown-linux-gnu.tar.gz ``` r? ``@Mark-Simulacrum`` cc ``@pnkfelix``
Configuration menu - View commit details
-
Copy full SHA for 406281b - Browse repository at this point
Copy the full SHA 406281bView commit details -
Rollup merge of rust-lang#79164 - varkor:unbraced-single-segment-cons…
…t-arguments, r=petrochenkov Permit standalone generic parameters as const generic arguments in macros Fixes rust-lang#79127. r? ``@petrochenkov``
Configuration menu - View commit details
-
Copy full SHA for 37e64af - Browse repository at this point
Copy the full SHA 37e64afView commit details