summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/issue-90614-accept-allow-text-direction-codepoint-in-comment-lint.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/lint/issue-90614-accept-allow-text-direction-codepoint-in-comment-lint.rs')
-rw-r--r--src/test/ui/lint/issue-90614-accept-allow-text-direction-codepoint-in-comment-lint.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/lint/issue-90614-accept-allow-text-direction-codepoint-in-comment-lint.rs b/src/test/ui/lint/issue-90614-accept-allow-text-direction-codepoint-in-comment-lint.rs
new file mode 100644
index 000000000..425e2703c
--- /dev/null
+++ b/src/test/ui/lint/issue-90614-accept-allow-text-direction-codepoint-in-comment-lint.rs
@@ -0,0 +1,9 @@
+// check-pass
+// Allowing the code lint should work without warning and
+// the text flow char in the comment should be ignored.
+
+#![allow(text_direction_codepoint_in_comment)]
+
+fn main() {
+ // U+2066 LEFT-TO-RIGHT ISOLATE follows:⁦⁦
+}