-
Couldn't load subscription status.
- Fork 13.9k
Rollup of 6 pull requests #100059
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 6 pull requests #100059
Conversation
This was accidentally accepted even though it had no effect in `global_asm!`. The option only makes sense for `asm!` which runs within a function.
Signed-off-by: tabokie <xy.tao@outlook.com>
… r=estebank Warn about dead tuple struct fields Continuation of rust-lang#92972. Fixes rust-lang#92790. The language team has already commented on this in rust-lang#92972 (comment); I have incorporated their requests here. Specifically, there is now a new allow-by-default `unused_tuple_struct_fields` lint (name bikesheddable), and fields of unit type are ignored (rust-lang#92972 (comment)), so error messages look like this: ``` error: field is never read: `1` --> $DIR/tuple-struct-field.rs:6:21 | LL | struct Wrapper(i32, [u8; LEN], String); | ^^^^^^^^^ | help: change the field to unit type to suppress this warning while preserving the field numbering | LL | struct Wrapper(i32, (), String); | ~~ ``` r? `@joshtriplett`
…n, r=fee1-dead Always include a position span in `rustc_parse_format::Argument` Moves the spans from the `Position` enum to always be included in the `Argument` struct. Doesn't make any changes to use it in rustc, but it will be useful for some upcoming Clippy lints
…illot Remove redundant `TransferWrapper` struct
…miasko Properly reject the `may_unwind` option in `global_asm!` This was accidentally accepted even though it had no effect in `global_asm!`. The option only makes sense for `asm!` which runs within a function.
move [`assertions_on_result_states`] to restriction "Backports" the first commit of rust-lang/rust-clippy#9273, so that the lint doesn't go into beta as a warn-by-default lint. The other changes in the linked PR can ride the train as usual. r? `@xFrednet` (only Clippy changes, so we don't need to bother compiler people) --- For Clippy: changelog: none
… r=Dylan-DPC Remove more Clean trait implementations Follow-up of rust-lang#99638. r? `@notriddle`
|
@bors r+ rollup=never p=5 |
|
⌛ Testing commit 62400fb with merge aa9a16bae55bae10b16cf92c01bcc7e85f3f6746... |
|
💔 Test failed - checks-actions |
|
The job Click to see the possible cause of the failure (guessed by this bot) |
|
The job Click to see the possible cause of the failure (guessed by this bot) |
|
☔ The latest upstream changes (presumably #100174) made this pull request unmergeable. Please resolve the merge conflicts. |
Successful merges:
rustc_parse_format::Argument#99987 (Always include a position span inrustc_parse_format::Argument)TransferWrapperstruct #100025 (Remove redundantTransferWrapperstruct)may_unwindoption inglobal_asm!#100045 (Properly reject themay_unwindoption inglobal_asm!)assertions_on_result_states] to restriction #100053 (move [assertions_on_result_states] to restriction)Failed merges:
r? @ghost
@rustbot modify labels: rollup
Create a similar rollup