diff options
Diffstat (limited to 'src/librustdoc/visit.rs')
-rw-r--r-- | src/librustdoc/visit.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/visit.rs b/src/librustdoc/visit.rs index 0bb41977c..c40274394 100644 --- a/src/librustdoc/visit.rs +++ b/src/librustdoc/visit.rs @@ -20,7 +20,7 @@ pub(crate) trait DocVisitor: Sized { VariantItem(i) => match i { Variant::Struct(j) => j.fields.iter().for_each(|x| self.visit_item(x)), Variant::Tuple(fields) => fields.iter().for_each(|x| self.visit_item(x)), - Variant::CLike => {} + Variant::CLike(_) => {} }, ExternCrateItem { src: _ } | ImportItem(_) |