Skip to content

Rollup of 7 pull requests #118893

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

Closed
wants to merge 19 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
a48cebc
Coroutine variant fields can be uninitialized
tmiasko Dec 12, 2023
fb32eb3
Clean up CodeBlocks::next code
GuillaumeGomez Dec 12, 2023
e9b16cc
rustc_passes: Enforce `rustc::potential_query_instability` lint
Enselic Dec 12, 2023
d3cb25f
Add `rustX` check to codeblock attributes lint
GuillaumeGomez Dec 12, 2023
98aa20b
Add test for `rustX` codeblock attribute
GuillaumeGomez Dec 12, 2023
bb0fd66
Follow guidelines for lint suggestions
GuillaumeGomez Dec 12, 2023
6892fcd
simplify merging of two vecs
matthiaskrgr Dec 12, 2023
d707461
clippy::complexity fixes
matthiaskrgr Dec 12, 2023
f1342f3
Clean up variables in `search.js`
GuillaumeGomez Dec 12, 2023
58327c1
Add a test for a codeblock with multiple invalid attributes
GuillaumeGomez Dec 12, 2023
046f2de
Typo
smoelius Dec 12, 2023
2a1acc2
Update compiler/rustc_pattern_analysis/src/constructor.rs
matthiaskrgr Dec 12, 2023
5ae76ae
Rollup merge of #118870 - Enselic:rustc_passes-query-stability, r=com…
GuillaumeGomez Dec 12, 2023
a5bd88b
Rollup merge of #118871 - tmiasko:coroutine-maybe-uninit-fields, r=co…
GuillaumeGomez Dec 12, 2023
57d8f24
Rollup merge of #118872 - GuillaumeGomez:codeblock-attr-lint, r=notri…
GuillaumeGomez Dec 12, 2023
a0c6c64
Rollup merge of #118884 - matthiaskrgr:auszweimacheins, r=Nadrieril
GuillaumeGomez Dec 12, 2023
244429d
Rollup merge of #118885 - matthiaskrgr:compl_2023, r=compiler-errors
GuillaumeGomez Dec 12, 2023
c8755d8
Rollup merge of #118886 - GuillaumeGomez:clean-up-search-vars, r=notr…
GuillaumeGomez Dec 12, 2023
ee9b563
Rollup merge of #118887 - smoelius:patch-1, r=Nilstrieb
GuillaumeGomez Dec 12, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update compiler/rustc_pattern_analysis/src/constructor.rs
add note that `missing_empty` is cleared now

Co-authored-by: Nadrieril <Nadrieril@users.noreply.github.com>
  • Loading branch information
matthiaskrgr and Nadrieril authored Dec 12, 2023
commit 2a1acc26a0533b82faa5ab18b56cff032e6ca3f9
1 change: 1 addition & 0 deletions compiler/rustc_pattern_analysis/src/constructor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -979,6 +979,7 @@ impl ConstructorSet {
&& !(pcx.is_top_level && matches!(self, Self::NoConstructors))
{
// Treat all missing constructors as nonempty.
// This clears `missing_empty`.
missing.append(&mut missing_empty);
}

Expand Down