-
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 8 pull requests #118892
Rollup of 8 pull requests #118892
Commits on Dec 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0278505 - Browse repository at this point
Copy the full SHA 0278505View commit details
Commits on Dec 12, 2023
-
Coroutine variant fields can be uninitialized
Wrap coroutine variant fields in MaybeUninit to indicate that they might be uninitialized. Otherwise an uninhabited field will make the entire variant uninhabited and introduce undefined behaviour. The analogous issue in the prefix of coroutine layout was addressed by 6fae7f8.
Configuration menu - View commit details
-
Copy full SHA for a48cebc - Browse repository at this point
Copy the full SHA a48cebcView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb32eb3 - Browse repository at this point
Copy the full SHA fb32eb3View commit details -
Move some methods from
tcx.hir()
totcx
Renamings: - find -> opt_hir_node - get -> hir_node - find_by_def_id -> opt_hir_node_by_def_id - get_by_def_id -> hir_node_by_def_id Fix rebase changes using removed methods Use `tcx.hir_node_by_def_id()` whenever possible in compiler Fix clippy errors Fix compiler Apply suggestions from code review Co-authored-by: Vadim Petrochenkov <[email protected]> Add FIXME for `tcx.hir()` returned type about its removal Simplify with with `tcx.hir_node_by_def_id`
Configuration menu - View commit details
-
Copy full SHA for 24f009c - Browse repository at this point
Copy the full SHA 24f009cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d3cb25f - Browse repository at this point
Copy the full SHA d3cb25fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98aa20b - Browse repository at this point
Copy the full SHA 98aa20bView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb0fd66 - Browse repository at this point
Copy the full SHA bb0fd66View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6892fcd - Browse repository at this point
Copy the full SHA 6892fcdView commit details -
filter_map_identity needless_bool search_is_some unit_arg map_identity needless_question_mark derivable_impls
Configuration menu - View commit details
-
Copy full SHA for d707461 - Browse repository at this point
Copy the full SHA d707461View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1342f3 - Browse repository at this point
Copy the full SHA f1342f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 58327c1 - Browse repository at this point
Copy the full SHA 58327c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 046f2de - Browse repository at this point
Copy the full SHA 046f2deView commit details -
Update compiler/rustc_pattern_analysis/src/constructor.rs
add note that `missing_empty` is cleared now Co-authored-by: Nadrieril <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2a1acc2 - Browse repository at this point
Copy the full SHA 2a1acc2View commit details -
Rollup merge of rust-lang#117050 - c410-f3r:here-we-go-again, r=petro…
…chenkov [`RFC 3086`] Attempt to try to resolve blocking concerns Implements what is described at rust-lang#83527 (comment) to hopefully make some progress. It is unknown if such approach is or isn't desired due to the lack of further feedback, as such, it is probably best to nominate this PR to the official entities. `@rustbot` labels +I-compiler-nominated
Configuration menu - View commit details
-
Copy full SHA for 13c0a20 - Browse repository at this point
Copy the full SHA 13c0a20View commit details -
Rollup merge of rust-lang#118500 - ZetaNumbers:tcx_hir_refactor, r=pe…
…trochenkov Move some methods from `tcx.hir()` to `tcx` rust-lang#118256 (comment) Renamed: - find -> opt_hir_node - get -> hir_node - find_by_def_id -> opt_hir_node_by_def_id - get_by_def_id -> hir_node_by_def_id
Configuration menu - View commit details
-
Copy full SHA for 59c8e1d - Browse repository at this point
Copy the full SHA 59c8e1dView commit details -
Rollup merge of rust-lang#118871 - tmiasko:coroutine-maybe-uninit-fie…
…lds, r=compiler-errors Coroutine variant fields can be uninitialized Wrap coroutine variant fields in MaybeUninit to indicate that they might be uninitialized. Otherwise an uninhabited field will make the entire variant uninhabited and introduce undefined behaviour. The analogous issue in the prefix of coroutine layout was addressed by 6fae7f8.
Configuration menu - View commit details
-
Copy full SHA for 6b1701a - Browse repository at this point
Copy the full SHA 6b1701aView commit details -
Rollup merge of rust-lang#118872 - GuillaumeGomez:codeblock-attr-lint…
…, r=notriddle Add rustX check to codeblock attributes lint We discovered this issue [here](rust-lang#118802 (comment)). I assume that the issue will be present in other places outside of the compiler so it's worth adding a check for it. First commit is just a small cleanup about variables creation which was a bit strange (at least more than necessary). r? `@notriddle`
Configuration menu - View commit details
-
Copy full SHA for 15eb5d4 - Browse repository at this point
Copy the full SHA 15eb5d4View commit details -
Rollup merge of rust-lang#118884 - matthiaskrgr:auszweimacheins, r=Na…
…drieril NFC: simplify merging of two vecs
Configuration menu - View commit details
-
Copy full SHA for 00e1710 - Browse repository at this point
Copy the full SHA 00e1710View commit details -
Rollup merge of rust-lang#118885 - matthiaskrgr:compl_2023, r=compile…
…r-errors clippy::complexity fixes filter_map_identity needless_bool search_is_some unit_arg map_identity needless_question_mark derivable_impls
Configuration menu - View commit details
-
Copy full SHA for 848bd24 - Browse repository at this point
Copy the full SHA 848bd24View commit details -
Rollup merge of rust-lang#118886 - GuillaumeGomez:clean-up-search-var…
…s, r=notriddle Clean up variables in `search.js` While reviewing rust-lang#118402, I saw a few small clean ups that were needed, mostly about variables creation. r? `@notriddle`
Configuration menu - View commit details
-
Copy full SHA for c76e54c - Browse repository at this point
Copy the full SHA c76e54cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 755df90 - Browse repository at this point
Copy the full SHA 755df90View commit details