about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2018-03-21 15:49:42 -0700
committerManish Goregaokar <manishsmail@gmail.com>2018-03-29 08:45:14 +0200
commit195c6b4789858b7fa23735a67facf2bd0749729b (patch)
tree07fc438ebc97695b83d50b885ca644d641e9163a
parentb70cc5380452676e4044ca289d177781d6b42035 (diff)
Fix test
-rw-r--r--src/test/run-pass/epoch-gate-feature.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/epoch-gate-feature.rs b/src/test/run-pass/epoch-gate-feature.rs
index f3d8f216e11..e3cd1edd209 100644
--- a/src/test/run-pass/epoch-gate-feature.rs
+++ b/src/test/run-pass/epoch-gate-feature.rs
@@ -11,7 +11,7 @@
 // Checks if the correct registers are being used to pass arguments
 // when the sysv64 ABI is specified.
 
-// compile-flags: -Zedition=2018
+#![feature(rust_2018_preview)]
 
 pub trait Foo {}