-
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
improve "try ignoring the field" diagnostic #100031
Conversation
(rust-highfive has picked a reviewer for you, use r? to override) |
This probably could be |
It’s also not clear whether this should work for tuples. Consider: let (x, unused1, unused2, ..) = tuple; There’re three suggestion options here:
|
3ef9e4b
to
6810458
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR, @GoldsteinE!
I left some comments below.
@michaelwoerister Thanks for the review! I implemented your suggestions |
This comment has been minimized.
This comment has been minimized.
3609afe
to
3fb249b
Compare
Thanks, @GoldsteinE! @bors r+ |
… r=michaelwoerister improve "try ignoring the field" diagnostic Closes rust-lang#95795
…iaskrgr Rollup of 10 pull requests Successful merges: - rust-lang#100031 (improve "try ignoring the field" diagnostic) - rust-lang#100325 (Rustdoc-Json: Don't remove impls for items imported from private modules) - rust-lang#100377 (Replace - with _ in fluent slugs to improve developer workflows) - rust-lang#100458 (Adjust span of fn argument declaration) - rust-lang#100514 (Delay span bug when failing to normalize negative coherence impl subject due to other malformed impls) - rust-lang#100528 (Support 1st group of RISC-V Bitmanip backend target features) - rust-lang#100559 (Parser simplifications) - rust-lang#100568 (Fix STD build for ESP-IDF) - rust-lang#100582 ([rustdoc] Fix handling of stripped enum variant in JSON output format) - rust-lang#100586 (Reland changes replacing num_cpus with available_parallelism ) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Closes #95795