-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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 8 pull requests #93245
Rollup of 8 pull requests #93245
Commits on Jan 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 0e24ad5 - Browse repository at this point
Copy the full SHA 0e24ad5View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc699e1 - Browse repository at this point
Copy the full SHA cc699e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for da33da1 - Browse repository at this point
Copy the full SHA da33da1View commit details -
Simplify panicking mechanism of thread::scope.
It now panic!()s on its own, rather than resume_unwind'ing the panic payload from the thread. Using resume_unwind skips the panic_handler, meaning that the main thread would never have a panic handler run, which can get confusing.
Configuration menu - View commit details
-
Copy full SHA for f521779 - Browse repository at this point
Copy the full SHA f521779View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4300bea - Browse repository at this point
Copy the full SHA 4300beaView commit details -
Configuration menu - View commit details
-
Copy full SHA for c5cb2de - Browse repository at this point
Copy the full SHA c5cb2deView commit details -
Use > rather than == for overflow check in scoped threads.
Co-authored-by: Jacob Lifshay <programmerjake@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2c8cc70 - Browse repository at this point
Copy the full SHA 2c8cc70View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09e6665 - Browse repository at this point
Copy the full SHA 09e6665View commit details -
Fix typo in is_running() docs.
Co-authored-by: Mattias Buelens <649348+MattiasBuelens@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c429ade - Browse repository at this point
Copy the full SHA c429adeView commit details -
Fix typo in Scope::spawn docs.
Co-authored-by: deltragon <m@dafert.at>
Configuration menu - View commit details
-
Copy full SHA for 5b5746f - Browse repository at this point
Copy the full SHA 5b5746fView commit details
Commits on Jan 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a9efbaf - Browse repository at this point
Copy the full SHA a9efbafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bd5781 - Browse repository at this point
Copy the full SHA 5bd5781View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa9c088 - Browse repository at this point
Copy the full SHA aa9c088View commit details -
Mention *scoped* thread in panic message.
Co-authored-by: Amanieu d'Antras <amanieu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4cb7370 - Browse repository at this point
Copy the full SHA 4cb7370View commit details
Commits on Jan 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for bc8cef1 - Browse repository at this point
Copy the full SHA bc8cef1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e572c5a - Browse repository at this point
Copy the full SHA e572c5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 12cc7d9 - Browse repository at this point
Copy the full SHA 12cc7d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 465c405 - Browse repository at this point
Copy the full SHA 465c405View commit details -
Configuration menu - View commit details
-
Copy full SHA for cbb0fff - Browse repository at this point
Copy the full SHA cbb0fffView commit details
Commits on Jan 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4ff7e6e - Browse repository at this point
Copy the full SHA 4ff7e6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 19809ed - Browse repository at this point
Copy the full SHA 19809edView commit details -
Configuration menu - View commit details
-
Copy full SHA for cf382de - Browse repository at this point
Copy the full SHA cf382deView commit details -
rustc_lint: Remove some redundant fields from
EarlyContext
Use consistent function parameter order for early context construction and early linting Rename some functions to make it clear that they do not necessarily work on the whole crate
Configuration menu - View commit details
-
Copy full SHA for 452aa81 - Browse repository at this point
Copy the full SHA 452aa81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51b2338 - Browse repository at this point
Copy the full SHA 51b2338View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c70b6d - Browse repository at this point
Copy the full SHA 9c70b6dView commit details -
rustc_lint: Stop creating a fake
ast::Crate
for running early lintsAdd a trait generalizing over the crate root and freshly loaded modules instead This also makes node IDs used for pre-expansion linting more precise
Configuration menu - View commit details
-
Copy full SHA for 05cd755 - Browse repository at this point
Copy the full SHA 05cd755View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67cccaf - Browse repository at this point
Copy the full SHA 67cccafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a74ace - Browse repository at this point
Copy the full SHA 4a74aceView commit details -
Rollup merge of rust-lang#91526 - petrochenkov:earlint, r=cjgillot
rustc_lint: Some early linting refactorings The first one removes and renames some fields and methods from `EarlyContext`. The second one uses the set of registered tools (for tool attributes and tool lints) in a more centralized way. The third one removes creation of a fake `ast::Crate` from `fn pre_expansion_lint`. Pre-expansion linting is done with per-module granularity on freshly loaded modules, and it previously synthesized an `ast::Crate` to visit non-root modules, now they are visited as modules. The node ID used for pre-expansion linting is also made more precise (the loaded module ID is used).
Configuration menu - View commit details
-
Copy full SHA for 89baf0f - Browse repository at this point
Copy the full SHA 89baf0fView commit details -
Rollup merge of rust-lang#92555 - m-ou-se:scoped-threads, r=Amanieu
Implement RFC 3151: Scoped threads. This implements rust-lang/rfcs#3151 r? `@Amanieu`
Configuration menu - View commit details
-
Copy full SHA for bb260e8 - Browse repository at this point
Copy the full SHA bb260e8View commit details -
Rollup merge of rust-lang#93213 - c410-f3r:let-chains-feature, r=matt…
…hewjasper Fix `let_chains` and `if_let_guard` feature flags Fixes rust-lang#93150 cc rust-lang#53667
Configuration menu - View commit details
-
Copy full SHA for 0f2ff4b - Browse repository at this point
Copy the full SHA 0f2ff4bView commit details -
Rollup merge of rust-lang#93219 - cr1901:msp430-asm-squashed, r=Amanieu
Add preliminary support for inline assembly for msp430. The `llvm_asm` macro was removed recently, and the MSP430 backend relies on inline assembly to build useful embedded apps. I conveniently "found" time to implement basic support for the new inline `asm` macro syntax with the help of `@Amanieu` :D. In addition to tests in the compiler, I have tested this locally against deployed MSP430 code and have not found any noticeable differences in firmware operation or `objdump` disassemblies between the old `llvm_asm` and the new `asm` syntax.
Configuration menu - View commit details
-
Copy full SHA for 552b564 - Browse repository at this point
Copy the full SHA 552b564View commit details -
Rollup merge of rust-lang#93226 - compiler-errors:issue-93141, r=jack…
…h726 Normalize field access types during borrowck I think a normalize was just left out here, since we normalize analogously throughout this file. Fixes rust-lang#93141
Configuration menu - View commit details
-
Copy full SHA for 5adef28 - Browse repository at this point
Copy the full SHA 5adef28View commit details -
Rollup merge of rust-lang#93227 - compiler-errors:gat-hrtb-wfcheck, r…
…=jackh726 Liberate late bound regions when collecting GAT substs in wfcheck The issue here is that the [`GATSubstCollector`](https://github.com/rust-lang/rust/blob/master/compiler/rustc_typeck/src/check/wfcheck.rs#L604) does not currently do anything wrt `Binder`s, so the GAT substs it copies out have escaping late bound regions when it walks through types like `for<'x> fn() -> Self::Gat<'x>`. I made that visitor call `liberate_late_bound_regions`, not sure if that's the right thing here or we need to do something else to replace these bound vars with placeholders. I'm not familiar with other code doing anything similar.. But the issue is indeed no longer ICEing. Fixes rust-lang#92954 r? `@jackh726` since you last touched this code, feel free to reassign
Configuration menu - View commit details
-
Copy full SHA for 8810af8 - Browse repository at this point
Copy the full SHA 8810af8View commit details -
Rollup merge of rust-lang#93229 - mark-i-m:noquiet, r=eddyb
Remove DiagnosticBuilder.quiet r? `@eddyb` cc rust-lang#69426 `@GuillaumeGomez` `@Manishearth`
Configuration menu - View commit details
-
Copy full SHA for a1645e5 - Browse repository at this point
Copy the full SHA a1645e5View commit details -
Rollup merge of rust-lang#93234 - mati865:mir-transform-use-itertools…
…, r=jackh726 rustc_mir_itertools: Avoid needless `collect` with itertools I don't think this should have measurable perf impact (at least not on perf.rlo benchmarks), it's mostly for readability.
Configuration menu - View commit details
-
Copy full SHA for eea833f - Browse repository at this point
Copy the full SHA eea833fView commit details