diff --git a/crates/hir-def/src/attr.rs b/crates/hir-def/src/attr.rs index db1c6bc8181..b32479a3f46 100644 --- a/crates/hir-def/src/attr.rs +++ b/crates/hir-def/src/attr.rs @@ -274,6 +274,7 @@ pub enum DocAtom { KeyValue { key: SmolStr, value: SmolStr }, } +// Adapted from `CfgExpr` parsing code #[derive(Debug, Clone, PartialEq, Eq, Hash)] // #[cfg_attr(test, derive(derive_arbitrary::Arbitrary))] pub enum DocExpr {