about summary refs log tree commit diff
path: root/tests/ui/codemap_tests/unicode.rs
diff options
context:
space:
mode:
authorLukas Wirth <lukas.wirth@ferrous-systems.com>2025-04-16 10:45:03 +0200
committerLukas Wirth <lukas.wirth@ferrous-systems.com>2025-04-16 11:10:10 +0200
commit20ab952b4dd994aa6e22ff56df5314eee5ff415c (patch)
treeaba9bb5a03553683fc0196bf50f5c0513893a92e /tests/ui/codemap_tests/unicode.rs
parentefb1e3d676e1549811da79ebd124b6fc4d856248 (diff)
downloadrust-20ab952b4dd994aa6e22ff56df5314eee5ff415c.tar.gz
rust-20ab952b4dd994aa6e22ff56df5314eee5ff415c.zip
Explicitly annotate edition for `unpretty=expanded` and `unpretty=hir` tests
These emit prelude imports which means they are always edition dependent
Diffstat (limited to 'tests/ui/codemap_tests/unicode.rs')
-rw-r--r--tests/ui/codemap_tests/unicode.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ui/codemap_tests/unicode.rs b/tests/ui/codemap_tests/unicode.rs
index 73023e3c669..4b93ef09406 100644
--- a/tests/ui/codemap_tests/unicode.rs
+++ b/tests/ui/codemap_tests/unicode.rs
@@ -1,6 +1,7 @@
 //@ revisions: normal expanded
 //@[expanded] check-pass
 //@[expanded]compile-flags: -Zunpretty=expanded
+//@ edition: 2015
 
 extern "路濫狼á́́" fn foo() {} //[normal]~ ERROR invalid ABI