diff options
author | Aleksey Kladov <[email protected]> | 2019-01-25 21:24:12 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-01-25 21:24:12 +0000 |
commit | 23172a116c3cc4ca9a692dfdd05051d1a4aee2b2 (patch) | |
tree | b6d0912779ecb18ec278339d8a40303e172647be /crates/ra_hir/src/code_model_api.rs | |
parent | 3c7acecade09e1234ac7b1d1ed2f22edbc543f64 (diff) |
rename POS_FIELD -> POS_FIELD_DEF
to match NAMED_FIELD_DEF
Diffstat (limited to 'crates/ra_hir/src/code_model_api.rs')
-rw-r--r-- | crates/ra_hir/src/code_model_api.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/code_model_api.rs b/crates/ra_hir/src/code_model_api.rs index 41bac05c6..191104890 100644 --- a/crates/ra_hir/src/code_model_api.rs +++ b/crates/ra_hir/src/code_model_api.rs | |||
@@ -193,7 +193,7 @@ pub struct StructField { | |||
193 | #[derive(Debug)] | 193 | #[derive(Debug)] |
194 | pub enum FieldSource { | 194 | pub enum FieldSource { |
195 | Named(TreeArc<ast::NamedFieldDef>), | 195 | Named(TreeArc<ast::NamedFieldDef>), |
196 | Pos(TreeArc<ast::PosField>), | 196 | Pos(TreeArc<ast::PosFieldDef>), |
197 | } | 197 | } |
198 | 198 | ||
199 | impl StructField { | 199 | impl StructField { |