Stop suggesting adding generic args for turbofish#100986
Stop suggesting adding generic args for turbofish#100986bors merged 1 commit intorust-lang:masterfrom
Conversation
|
Some changes occurred in need_type_info.rs cc @lcnr |
|
(rust-highfive has picked a reviewer for you, use r? to override) |
There was a problem hiding this comment.
I think this suggestion should point at the type parameter. I will work on it later in a follow-up PR.
|
I personally like the suggestions, even if the generic args are already specified, but include A more targeted fix for #100137 would be to not add an |
|
☔ The latest upstream changes (presumably #101143) made this pull request unmergeable. Please resolve the merge conflicts. |
5228379 to
a2b1543
Compare
compiler/rustc_infer/src/infer/error_reporting/need_type_info.rs
Outdated
Show resolved
Hide resolved
|
r=me with nit fixed |
a2b1543 to
4525796
Compare
|
I forgot about this PR. @bors r=compiler-errors |
Rollup of 5 pull requests Successful merges: - rust-lang#100986 (Stop suggesting adding generic args for turbofish) - rust-lang#101061 (panic-on-uninit: adjust checks to 0x01-filling) - rust-lang#102440 (Only export `__tls_*` on wasm32-unknown-unknown.) - rust-lang#102496 (Suggest `.into()` when all other coercion suggestions fail) - rust-lang#102699 (Fix hamburger button color) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Fixes #100137