about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2019-08-07 11:52:40 +0200
committerRalf Jung <post@ralfj.de>2019-08-11 12:04:49 +0200
commit3972d05fec01cd46c207f6e98aca5ee20102e17a (patch)
tree379bcd29b49d9d9fd49079cc54b028bd06a6f3e2 /src
parent4b062a175fa3b9613995eea7d026edbbb3be715e (diff)
downloadrust-3972d05fec01cd46c207f6e98aca5ee20102e17a.tar.gz
rust-3972d05fec01cd46c207f6e98aca5ee20102e17a.zip
proper doc comment for 'recovered' field of variant
Curtesy of petrochenkov
Diffstat (limited to 'src')
-rw-r--r--src/librustc/ty/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/ty/mod.rs b/src/librustc/ty/mod.rs
index b104bbf466a..9d563e290de 100644
--- a/src/librustc/ty/mod.rs
+++ b/src/librustc/ty/mod.rs
@@ -1842,8 +1842,8 @@ pub struct VariantDef {
     pub ctor_kind: CtorKind,
     /// Flags of the variant (e.g. is field list non-exhaustive)?
     flags: VariantFlags,
-    /// Recovered?
-    // FIXME: Needs proper doc. Recovered whom from what?
+    /// Variant is obtained as part of recovering from a syntactic error.
+    /// May be incomplete or bogus.
     pub recovered: bool,
 }