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.
1 parent 11d2046 commit bca35efCopy full SHA for bca35ef
tests/ui/frontmatter/space-in-infostring.rs
@@ -0,0 +1,9 @@
1
+--- cargo clippy
2
+//~^ ERROR: invalid infostring for frontmatter
3
+---
4
+
5
+// infostrings cannot have spaces
6
7
+#![feature(frontmatter)]
8
9
+fn main() {}
tests/ui/frontmatter/space-in-infostring.stderr
@@ -0,0 +1,10 @@
+error: invalid infostring for frontmatter
+ --> $DIR/space-in-infostring.rs:1:4
+ |
+LL | --- cargo clippy
+ | ^^^^^^^^^^^^^
+ = note: frontmatter infostrings must be a single identifier immediately following the opening
+error: aborting due to 1 previous error
10
0 commit comments