We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 473eaa4 commit 9db9811Copy full SHA for 9db9811
compiler/rustc_lint_defs/src/builtin.rs
@@ -3054,6 +3054,7 @@ declare_lint_pass! {
3054
BREAK_WITH_LABEL_AND_LOOP,
3055
UNUSED_ATTRIBUTES,
3056
NON_EXHAUSTIVE_OMITTED_PATTERNS,
3057
+ TEXT_DIRECTION_CODEPOINT_IN_COMMENT,
3058
DEREF_INTO_DYN_SUPERTRAIT,
3059
]
3060
}
src/test/ui/lint/issue-90614-accept-allow-text-direction-codepoint-in-comment-lint.rs
@@ -0,0 +1,9 @@
1
+// check-pass
2
+// Allowing the code lint should work without warning and
3
+// the text flow char in the comment should be ignored.
4
+
5
+#![allow(text_direction_codepoint_in_comment)]
6
7
+fn main() {
8
+ // U+2066 LEFT-TO-RIGHT ISOLATE follows:
9
+}
0 commit comments