-
Couldn't load subscription status.
- Fork 13.9k
Rollup of 8 pull requests #87480
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 #87480
Conversation
related issue rust-lang#43575
`structhead` is used for `render_struct` so that the logic for rendering structs can be shared between struct variants and struct items. However, `render_union` is not used anywhere except for rendering union items, so its `structhead` parameter is unnecessary.
Suggest `;` on parse error where applicable fixes rust-lang#87197
…n514 Flatten nested `format!` calls
Miri: santiy check that null pointer can never have an AllocId
…petrochenkov freebsd remove compiler workaround. related issue rust-lang#43575
…r=oli-obk
Fix help message for modification to &T created by &{t}
Previous:
```rust
error[E0594]: cannot assign to `*x` which is behind a `&` reference
--> src/main.rs:3:5
|
2 | let x: &usize = &mut{0};
| ------- help: consider changing this to be a mutable reference: `&mut mut{0}`
3 | *x = 1;
| ^^^^^^ `x` is a `&` reference, so the data it refers to cannot be written
```
Remove unnecessary `structhead` parameter from `render_union` `structhead` is used for `render_struct` so that the logic for rendering structs can be shared between struct variants and struct items. However, `render_union` is not used anywhere except for rendering union items, so its `structhead` parameter is unnecessary.
…jyn514 Notify the Rust 2021 edition working group in zulip of edition bugs Notifying the group of these issues will make it easier for us to track them. r? `@jyn514`
…fter-attr, r=notriddle Add missing whitespace after attribute in HTML template Firefox (even though it worked) highlights it as red when you look at the source code because there is a missing whitespace. r? `@notriddle`
|
@bors: r+ p=8 rollup=never |
|
📌 Commit 12c2092 has been approved by |
|
⌛ Testing commit 12c2092 with merge 48351bee698897cc208e8cb2008f68ccd55ec976... |
|
The job Click to see the possible cause of the failure (guessed by this bot) |
|
💔 Test failed - checks-actions |
|
Timeout. @bors: retry |
|
☀️ Test successful - checks-actions |
Successful merges:
;on parse error where applicable #87436 (Suggest;on parse error where applicable)format!calls #87444 (Flatten nestedformat!calls)structheadparameter fromrender_union#87464 (Remove unnecessarystructheadparameter fromrender_union)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup