-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 11 pull requests #96087
Rollup of 11 pull requests #96087
Commits on Mar 31, 2022
-
A more robust solution to finding where to place use suggestions was added. The algorithm uses the AST to find the span for the suggestion so we pass this span down to the HIR during lowering and use it. Signed-off-by: Miguel Guarniz <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8c2353b - Browse repository at this point
Copy the full SHA 8c2353bView commit details
Commits on Apr 2, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6b75406 - Browse repository at this point
Copy the full SHA 6b75406View commit details
Commits on Apr 7, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7bd22e2 - Browse repository at this point
Copy the full SHA 7bd22e2View commit details
Commits on Apr 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for abf2b4c - Browse repository at this point
Copy the full SHA abf2b4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a3dd654 - Browse repository at this point
Copy the full SHA a3dd654View commit details
Commits on Apr 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7c2d57e - Browse repository at this point
Copy the full SHA 7c2d57eView commit details
Commits on Apr 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 21d3f84 - Browse repository at this point
Copy the full SHA 21d3f84View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50c339e - Browse repository at this point
Copy the full SHA 50c339eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a35c0f - Browse repository at this point
Copy the full SHA 7a35c0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 75287dd - Browse repository at this point
Copy the full SHA 75287ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 15abc81 - Browse repository at this point
Copy the full SHA 15abc81View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6511976 - Browse repository at this point
Copy the full SHA 6511976View commit details -
Configuration menu - View commit details
-
Copy full SHA for c20bb1d - Browse repository at this point
Copy the full SHA c20bb1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5459e66 - Browse repository at this point
Copy the full SHA 5459e66View commit details
Commits on Apr 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f9188cc - Browse repository at this point
Copy the full SHA f9188ccView commit details -
Rollup merge of rust-lang#94457 - jhpratt:stabilize-derive_default_en…
…um, r=davidtwco Stabilize `derive_default_enum` This stabilizes `#![feature(derive_default_enum)]`, as proposed in [RFC 3107](rust-lang/rfcs#3107) and tracked in rust-lang#87517. In short, it permits you to `#[derive(Default)]` on `enum`s, indicating what the default should be by placing a `#[default]` attribute on the desired variant (which must be a unit variant in the interest of forward compatibility). ```````@rustbot``````` label +S-waiting-on-review +T-lang
Configuration menu - View commit details
-
Copy full SHA for 27e2d81 - Browse repository at this point
Copy the full SHA 27e2d81View commit details -
Rollup merge of rust-lang#94461 - jhpratt:2024-edition, r=pnkfelix
Create (unstable) 2024 edition [On Zulip](https://rust-lang.zulipchat.com/#narrow/stream/213817-t-lang/topic/Deprecating.20macro.20scoping.20shenanigans/near/272860652), there was a small aside regarding creating the 2024 edition now as opposed to later. There was a reasonable amount of support and no stated opposition. This change creates the 2024 edition in the compiler and creates a prelude for the 2024 edition. There is no current difference between the 2021 and 2024 editions. Cargo and other tools will need to be updated separately, as it's not in the same repository. This change permits the vast majority of work towards the next edition to proceed _now_ instead of waiting until 2024. For sanity purposes, I've merged the "hello" UI tests into a single file with multiple revisions. Otherwise we'd end up with a file per edition, despite them being essentially identical. ````@rustbot```` label +T-lang +S-waiting-on-review Not sure on the relevant team, to be honest.
Configuration menu - View commit details
-
Copy full SHA for 20bf34f - Browse repository at this point
Copy the full SHA 20bf34fView commit details -
Rollup merge of rust-lang#94849 - ouz-a:master4, r=oli-obk
Check var scope if it exist Fixes rust-lang#92893. Added helper function to check the scope of a variable, if it doesn't have a scope call delay_span_bug, which avoids us trying to get a block/scope that doesn't exist. Had to increase `ROOT_ENTRY_LIMIT` was getting tidy error
Configuration menu - View commit details
-
Copy full SHA for a32e0f3 - Browse repository at this point
Copy the full SHA a32e0f3View commit details -
Rollup merge of rust-lang#95194 - kckeiks:update-algo-in-find-use-pla…
…cement, r=pnkfelix remove find_use_placement A more robust solution to finding where to place use suggestions was added in rust-lang#94584. The algorithm uses the AST to find the span for the suggestion so we pass this span down to the HIR during lowering and use it instead of calling `find_use_placement` Fixes rust-lang#94941
Configuration menu - View commit details
-
Copy full SHA for bdbf099 - Browse repository at this point
Copy the full SHA bdbf099View commit details -
Rollup merge of rust-lang#95749 - compiler-errors:ambig, r=oli-obk
only downgrade selection Error -> Ambiguous if type error is in predicate That is, we don't care if there's a TypeError type in the ParamEnv. Fixes rust-lang#95408
Configuration menu - View commit details
-
Copy full SHA for 7478294 - Browse repository at this point
Copy the full SHA 7478294View commit details -
Rollup merge of rust-lang#96026 - matthiaskrgr:clippy_compl_1304, r=D…
…ylan-DPC couple of clippy::complexity fixes
Configuration menu - View commit details
-
Copy full SHA for ba9c3a1 - Browse repository at this point
Copy the full SHA ba9c3a1View commit details -
Rollup merge of rust-lang#96027 - matthiaskrgr:clippy_rec, r=fee1-dead
remove function parameters only used in recursion
Configuration menu - View commit details
-
Copy full SHA for 937b0a0 - Browse repository at this point
Copy the full SHA 937b0a0View commit details -
Rollup merge of rust-lang#96034 - Gumichocopengin8:test/btree-set, r=…
…Dylan-DPC [test] Add test cases of untested functions for BTreeSet - add [`is_superset()`](https://doc.rust-lang.org/std/collections/struct.BTreeSet.html#method.is_superset) and [`remove()`](https://doc.rust-lang.org/std/collections/struct.BTreeSet.html#method.remove) test cases for BTreeSet since these functions has no test cases.
Configuration menu - View commit details
-
Copy full SHA for 224afad - Browse repository at this point
Copy the full SHA 224afadView commit details -
Rollup merge of rust-lang#96040 - m-ou-se:futex-u32, r=Amanieu
Use u32 instead of i32 for futexes. This changes futexes from i32 to u32. The [Linux man page](https://man7.org/linux/man-pages/man2/futex.2.html) uses `uint32_t` for them, so I'm not sure why I used i32 for them. Maybe because I first used them for thread parkers, where I used -1, 0, and 1 as the states. (Wasm's `memory.atomic.wait32` does use `i32`, because wasm doesn't support `u32`.) It doesn't matter much, but using the unsigned type probably results in fewer surprises when shifting bits around or using comparison operators. r? ```@Amanieu```
Configuration menu - View commit details
-
Copy full SHA for aa978ad - Browse repository at this point
Copy the full SHA aa978adView commit details -
Rollup merge of rust-lang#96062 - ehuss:test-termination, r=Dylan-DPC
docs: Update tests chapter for Termination stabilization A small update for the docs of `#[test]` functions as a result of the `Termination` stabilization in rust-lang#93840.
Configuration menu - View commit details
-
Copy full SHA for 18a7ce3 - Browse repository at this point
Copy the full SHA 18a7ce3View commit details -
Rollup merge of rust-lang#96065 - TaKO8Ki:use-
format-args-capture
-a……nd-remove-unnecessary-nested-blocks, r=compiler-errors Refactor: Use `format-args-capture` and remove unnecessary nested blocks in rustc_typeck
Configuration menu - View commit details
-
Copy full SHA for fa281fd - Browse repository at this point
Copy the full SHA fa281fdView commit details