rust/compiler/rustc_resolve/src
Jacob Pratt d517a4f0ae
Rollup merge of #139014 - xizheyin:issue-138931, r=oli-obk
Improve suggest construct with literal syntax instead of calling

Closing #138931

When constructing a structure through a format similar to calling a constructor, we can use verbose suggestions to hint at using literal syntax for clearer advice. The case of multiple fields is also considered here, provided that the field has the same number of arguments as CallExpr.

r? compiler
2025-03-27 13:11:20 -04:00
..
late Rollup merge of #139014 - xizheyin:issue-138931, r=oli-obk 2025-03-27 13:11:20 -04:00
build_reduced_graph.rs Rollup merge of #138929 - oli-obk:assoc-ctxt-of-trait, r=compiler-errors 2025-03-25 18:09:07 +01:00
check_unused.rs Fix autofix for self and self as … in unused_imports lint 2025-03-24 13:01:47 +01:00
def_collector.rs Don't deaggregate InvocationParent just to reaggregate it again 2025-03-26 09:40:27 +00:00
diagnostics.rs Rollup merge of #138924 - nnethercote:less-kw-Empty-3, r=compiler-errors 2025-03-25 18:09:07 +01:00
effective_visibilities.rs rustc_resolve: reduce rightwards drift with let..else 👉💨 2025-01-21 13:42:32 +00:00
errors.rs Allow builtin macros to be used more than once. 2025-03-19 14:12:47 +01:00
ident.rs resolve: Avoid some unstable iteration 2 2025-03-24 23:03:11 +03:00
imports.rs resolve: Avoid some unstable iteration 2 2025-03-24 23:03:11 +03:00
late.rs Rollup merge of #138985 - oli-obk:push-mvlqmtmyozro, r=compiler-errors 2025-03-27 15:57:25 +11:00
lib.rs Rollup merge of #138929 - oli-obk:assoc-ctxt-of-trait, r=compiler-errors 2025-03-25 18:09:07 +01:00
macros.rs Rollup merge of #138929 - oli-obk:assoc-ctxt-of-trait, r=compiler-errors 2025-03-25 18:09:07 +01:00
rustdoc.rs rustdoc: improve refdef handling in the unresolved link lint 2025-02-15 12:21:35 -07:00