about summary refs log tree commit diff
path: root/tests/ui/string_lit_as_bytes.fixed
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/string_lit_as_bytes.fixed')
-rw-r--r--tests/ui/string_lit_as_bytes.fixed2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ui/string_lit_as_bytes.fixed b/tests/ui/string_lit_as_bytes.fixed
index 7ad272ade5f..ccf8f61c4a9 100644
--- a/tests/ui/string_lit_as_bytes.fixed
+++ b/tests/ui/string_lit_as_bytes.fixed
@@ -14,6 +14,8 @@ fn str_lit_as_bytes() {
 
     let strify = stringify!(foobar).as_bytes();
 
+    let current_version = env!("CARGO_PKG_VERSION").as_bytes();
+
     let includestr = include_bytes!("entry_unfixable.rs");
 
     let _ = b"string with newline\t\n";