diff options
| author | Jubilee <46493976+workingjubilee@users.noreply.github.com> | 2023-10-05 00:56:30 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-05 00:56:30 -0700 |
| commit | a9a389cf44451f71530b21daf5f125decc9dfdf6 (patch) | |
| tree | d80cf485e6d89bb85c8056ada3be09b8cab85f79 /compiler/rustc_codegen_cranelift/example/alloc_example.rs | |
| parent | cfce3a919dc09b41ba522202c0bffa9b8191bc57 (diff) | |
| parent | 867cc41b5b2f0e84de6a1fd10099e9383cecc807 (diff) | |
| download | rust-a9a389cf44451f71530b21daf5f125decc9dfdf6.tar.gz rust-a9a389cf44451f71530b21daf5f125decc9dfdf6.zip | |
Rollup merge of #116429 - fmease:clean-up-struct-field-suggs, r=compiler-errors
Diagnostics: Be more careful when suggesting struct fields Consolidate the various places which filter out struct fields that shouldn't be suggested into a single function. Previously, each of those code paths had slightly different and incomplete metrics for no good reason. Now, there's only a single 'complete' metric (namely `is_field_suggestable`) which also filters out hygienic fields that come from different syntax contexts. Fixes #116334.
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example/alloc_example.rs')
0 files changed, 0 insertions, 0 deletions
