diff options
| author | Michael Goulet <michael@errs.io> | 2024-12-31 05:03:22 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-12-31 05:03:22 +0000 |
| commit | ea291e5b5f5c2562fec89a11444e0dc4388565cf (patch) | |
| tree | 4005485bc538e6c7d4d9d0623fbd5190e567a941 /tests/ui/parser/unicode-control-codepoints.rs | |
| parent | c6afe82b8a3255145ba0eeeb49f8c590e38f38e2 (diff) | |
| download | rust-ea291e5b5f5c2562fec89a11444e0dc4388565cf.tar.gz rust-ea291e5b5f5c2562fec89a11444e0dc4388565cf.zip | |
Account for format_args in HiddenUnicodeCodepoints lint
Diffstat (limited to 'tests/ui/parser/unicode-control-codepoints.rs')
| -rw-r--r-- | tests/ui/parser/unicode-control-codepoints.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/parser/unicode-control-codepoints.rs b/tests/ui/parser/unicode-control-codepoints.rs index c2b9a9911ac..14e1cfe59d3 100644 --- a/tests/ui/parser/unicode-control-codepoints.rs +++ b/tests/ui/parser/unicode-control-codepoints.rs @@ -32,6 +32,9 @@ fn main() { //~^ ERROR unicode codepoint changing visible direction of text present in literal let _ = cr#""#; //~^ ERROR unicode codepoint changing visible direction of text present in literal + + println!("{{}}"); + //~^ ERROR unicode codepoint changing visible direction of text present in format string } //"/* } if isAdmin begin admins only */" |
