diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-06-19 16:08:52 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-06-19 16:08:52 +0100 |
commit | 90a5c4626a4c46f7d5973e79dc68ab734d3b9349 (patch) | |
tree | 8334808a94de667dfdf19f1b3545831f8a45895a /crates/ra_project_model/src/lib.rs | |
parent | ec6df5d3e866c215f7e699366ba55a7112ab4149 (diff) | |
parent | f5ac3130001ab7fe64dd542fd866a18012ee9971 (diff) |
Merge #4851
4851: Add quickfix to add a struct field r=TimoFreiberg a=TimoFreiberg
Related to #4563
I created a quickfix for record literals first because the NoSuchField diagnostic was already there.
To offer that quickfix for FieldExprs with unknown fields I'd need to add a new diagnostic (or create a `NoSuchField` diagnostic for those cases)
I think it'd make sense to make this a snippet completion (to select the generated type), but this would require changing the `Analysis` API and I'd like some feedback before I touch that.
Co-authored-by: Timo Freiberg <[email protected]>
Diffstat (limited to 'crates/ra_project_model/src/lib.rs')
0 files changed, 0 insertions, 0 deletions