rust/tests/ui/lint/issue-90614-accept-allow-text-direction-codepoint-in-comment-lint.rs
2023-01-11 09:32:08 +00:00

10 lines
242 B
Rust
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 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:
}