fix: wrong trait import suggestion for T:#95991
Conversation
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @fee1-dead (or someone else) soon. Please see the contribution instructions for more information. |
compiler/rustc_hir/src/hir.rs
Outdated
There was a problem hiding this comment.
This might possibly merge-conflict with #95970, since it's duplicated from that. Might want to wait on that landing and rebase.
src/test/ui/traits/issue-95898.rs
Outdated
There was a problem hiding this comment.
I don't think you need rustfmt::skip here. We configured rustfmt to not run on ui tests for this exact reason.
There was a problem hiding this comment.
You might need to turn off auto formatting from your IDE to remove this attribute.
There was a problem hiding this comment.
Removed rustfmt::skip, thanks 👍
21af116 to
5f07e22
Compare
|
Can you please squash the commits? If you want, I can do it for you by having a bot squash the commits. |
5f07e22 to
9b9f677
Compare
Done |
|
Thanks! @bors r+ rollup |
|
📌 Commit 9b9f677 has been approved by |
|
Thanks for your patience @fee1-dead @compiler-errors 👍 |
Rollup of 6 pull requests Successful merges: - rust-lang#93217 (Improve Rustdoc UI for scraped examples with multiline arguments, fix overflow in line numbers) - rust-lang#95885 (Improve error message in case of missing checksum) - rust-lang#95962 (Document that DirEntry holds the directory open) - rust-lang#95991 (fix: wrong trait import suggestion for T:) - rust-lang#96005 (Add missing article to fix "few" to "a few".) - rust-lang#96006 (Add a missing article) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
The suggestion to bound
Thad an extra:.Fixes: #95898