Fix bad suggestion for clone/is_some in field init shorthand#109355
Fix bad suggestion for clone/is_some in field init shorthand#109355bors merged 1 commit intorust-lang:masterfrom
Conversation
|
r? @oli-obk (rustbot has picked a reviewer for you, use r? to override) |
|
I think you can use |
|
Or better yet -- i wonder if we could make an even better helper method that simplifies the duplicated logic between all of the suggestions that handle field init shorthand syntax specially... |
try to move the |
|
Hmm... I don't really like the new calls to |
I have a try, but seems I rollback my last commit, and use the original |
47954d1 to
64f6e4f
Compare
|
@bors r+ |
|
@bors rollup |
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#109355 (Fix bad suggestion for clone/is_some in field init shorthand) - rust-lang#109484 (Bugfix: avoid panic on invalid json output from libtest) - rust-lang#109539 (Refactor `find_*_stability` functions) - rust-lang#109542 (rustdoc: clean up `storage.js`) - rust-lang#109545 (Deeply check well-formedness of return-position `impl Trait` in trait) - rust-lang#109568 (miri: fix raw pointer dyn receivers) - rust-lang#109570 (Add GUI test for "Auto-hide item methods' documentation" setting) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Fixes #108470