Files
rust/compiler
Jonathan Brouwer e52df2950c Rollup merge of #153751 - arferreira:fix-useless-e0284-suggestion, r=lcnr
Detect existing turbofish on method calls to suppress useless suggestion

`expr_inferred_arg_iter` hardcoded `have_turbofish: false` for `MethodCall` expressions, while the `Path` case properly checked for existing type arguments via `segment.args`. This meant the "consider specifying the generic arguments" suggestion always fired on method calls, even when the user already had a turbofish, producing a suggestion that just rewrote user syntax into fully qualified form without resolving anything.

Fixes rust-lang/rust#153732.

cc @eggyal
2026-03-12 15:52:10 +01:00
..
2026-03-11 06:25:23 +11:00
2026-03-11 06:25:23 +11:00
2026-03-07 10:42:02 -08:00
2026-03-11 06:25:23 +11:00
2026-03-11 06:25:23 +11:00
2026-03-11 06:25:23 +11:00
2026-03-11 06:25:23 +11:00
2026-03-11 21:54:42 +11:00
2026-03-11 06:25:23 +11:00
2026-01-19 16:08:54 +00:00