rust/crates/ra_syntax
bors[bot] 90a5c4626a
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 <timo.freiberg@gmail.com>
2020-06-19 15:08:52 +00:00
..
fuzz Added test for check doc strings in crates. 2019-09-30 11:58:53 +03:00
src Merge #4851 2020-06-19 15:08:52 +00:00
test_data Update parser tests with env var 2020-06-15 11:02:17 +02:00
Cargo.toml Update lexer 2020-05-26 14:35:09 -04:00