diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2025-03-27 13:11:20 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-27 13:11:20 -0400 |
| commit | d517a4f0ae6db710670a1651db80678b003fb840 (patch) | |
| tree | bff5c11f5d964d3a556bbdb9e649407d0745db64 /compiler/rustc_pattern_analysis/src | |
| parent | ed752193ccb5cf19ee92f6b81dde08f989c34a7f (diff) | |
| parent | 4648650d899ba01a6ed30e7ada3795b5c56465eb (diff) | |
| download | rust-d517a4f0ae6db710670a1651db80678b003fb840.tar.gz rust-d517a4f0ae6db710670a1651db80678b003fb840.zip | |
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
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions
