]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/hello.rs
parser will not give wrong help message for 'public'
[rust.git] / src / test / ui / hello.rs
index c207c25545eca6b80e4656a0371f98a6f8c41e5c..c66b7c60fb4eac0584a8d0578334dc7e3eefb827 100644 (file)
@@ -1,5 +1,12 @@
 // run-pass
+// revisions: e2015 e2018 e2021 e2024
 
-pub fn main() {
-    println!("hello, world");
+//[e2018] edition:2018
+//[e2021] edition:2021
+//[e2024] edition:2024
+
+//[e2024] compile-flags: -Zunstable-options
+
+fn main() {
+    println!("hello");
 }