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 68ffae4 commit f107bb8Copy full SHA for f107bb8
1 file changed
tests/ui/parser/range-inclusive-suggestion-span.rs
@@ -0,0 +1,14 @@
1
+#![crate_type = "rlib"]
2
+
3
+// Suggestions for range patterns should not perform span manipulations that
4
+// assume the range token is ASCII, because it could have been recovered from
5
+// similar-looking Unicode characters.
6
+//
7
+// Regression test for <https://github.com/rust-lang/rust/issues/155799>.
8
9
+// FIXME: The ICE is fixed in a subsequent commit.
10
+//@ known-bug: #155799
11
+//@ failure-status: 101
12
13
+// These dots are U+00B7 MIDDLE DOT, not an ASCII period.
14
+fn dot_dot_dot() { ··· }
0 commit comments