We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
KNOWN_DIRECTIVE_NAMES
1 parent 14db1b5 commit 91ad4bfCopy full SHA for 91ad4bf
src/tools/jsondocck/src/directive.rs
@@ -105,7 +105,7 @@ impl DirectiveKind {
105
[_path, value] => Self::HasNotValue { value: value.clone() },
106
_ => panic!("`//@ !has` must have 2 or 3 arguments, but got {args:?}"),
107
},
108
-
+ // Ignore compiletest directives, like //@ edition
109
(_, false) if KNOWN_DIRECTIVE_NAMES.contains(&directive_name) => {
110
return None;
111
}
0 commit comments