rust/compiler/rustc_resolve
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
..
src Rollup merge of #139014 - xizheyin:issue-138931, r=oli-obk 2025-03-27 13:11:20 -04:00
Cargo.toml Revert "Use workspace lints for crates in compiler/ #138084" 2025-03-10 18:12:47 +08:00
messages.ftl Allow builtin macros to be used more than once. 2025-03-19 14:12:47 +01:00