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 b2962c3 commit 159be09Copy full SHA for 159be09
tests/ui/frontmatter/frontmatter-contains-whitespace.rs
@@ -0,0 +1,22 @@
1
+#!/usr/bin/env -S cargo -Zscript
2
+---cargo
3
+# Beware editing: it has numerous whitespace characters which are important.
4
+# It contains one ranges from the 'PATTERN_WHITE_SPACE' property outlined in
5
+# https://unicode.org/Public/UNIDATA/PropList.txt
6
+#
7
+# The characters in the first expression of the assertion can be generated
8
+# from: "4\u{0C}+\n\t\r7\t*\u{20}2\u{85}/\u{200E}3\u{200F}*\u{2028}2\u{2029}"
9
+package.description = """
10
+4+
11
+
12
+7 * 2 /3* 2
13
+"""
14
+---
15
16
+//@ check-pass
17
18
+// Ensure the frontmatter can contain any whitespace
19
20
+#![feature(frontmatter)]
21
22
+fn main() {}
0 commit comments