-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
fix(suspicious_to_owned): use span_suggestions to suggest both intents #10295
Conversation
r? @dswij (rustbot has picked a reviewer for you, use r? to override) |
Since you're already changing things, it might look better when given two suggestions with different help messages. e.g.
|
Thanks for the suggestion! I initially wasn't sure about using the method, but this looks much better. |
That is nicer to read. Thank you for the fix. @bors r+ |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
fixes #10294
changelog: [
suspicious_to_owned
]: suggestions now produce valid Rust code