about summary refs log tree commit diff
path: root/tests/ui/parser/unicode-control-codepoints.rs
diff options
context:
space:
mode:
authorMatthew Jasper <mjjasper1@gmail.com>2025-05-14 10:43:39 +0000
committerMatthew Jasper <mjjasper1@gmail.com>2025-05-27 15:57:41 +0000
commit65bdb31a97af553c4fd932a171b74eaad76c1c53 (patch)
treeea83ce2706b8de7772cbfd2d9c94df5105a45268 /tests/ui/parser/unicode-control-codepoints.rs
parent0fc6f1672bdde8163164f10e46d2d9ffcaeb2161 (diff)
downloadrust-65bdb31a97af553c4fd932a171b74eaad76c1c53.tar.gz
rust-65bdb31a97af553c4fd932a171b74eaad76c1c53.zip
Report text_direction_codepoint_in_literal when parsing
- The lint is now reported in code that gets removed/modified/duplicated
  by macro expansion.
- Spans are more accurate
- Fixes #140281
Diffstat (limited to 'tests/ui/parser/unicode-control-codepoints.rs')
-rw-r--r--tests/ui/parser/unicode-control-codepoints.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/parser/unicode-control-codepoints.rs b/tests/ui/parser/unicode-control-codepoints.rs
index 14e1cfe59d3..e3c906063c4 100644
--- a/tests/ui/parser/unicode-control-codepoints.rs
+++ b/tests/ui/parser/unicode-control-codepoints.rs
@@ -34,7 +34,7 @@ fn main() {
     //~^ ERROR unicode codepoint changing visible direction of text present in literal
 
     println!("{{‮}}");
-    //~^ ERROR unicode codepoint changing visible direction of text present in format string
+    //~^ ERROR unicode codepoint changing visible direction of text present in literal
 }
 
 //"/*‮ } ⁦if isAdmin⁩ ⁦ begin admins only */"