about summary refs log tree commit diff
path: root/src/test/incremental
diff options
context:
space:
mode:
authorMatthew Jasper <mjjasper1@gmail.com>2019-04-22 08:40:08 +0100
committerMatthew Jasper <mjjasper1@gmail.com>2019-04-22 08:40:08 +0100
commit8eef102270647af94f38274efb9a2fd5ef8a92ec (patch)
tree95d7674ad687c45b730906915e79a0993138306b /src/test/incremental
parentaa6fb6caf9d8456c70144ccba1e969c85926e229 (diff)
downloadrust-8eef102270647af94f38274efb9a2fd5ef8a92ec.tar.gz
rust-8eef102270647af94f38274efb9a2fd5ef8a92ec.zip
update tests for migrate mode by default
Diffstat (limited to 'src/test/incremental')
-rw-r--r--src/test/incremental/feature_gate.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/incremental/feature_gate.rs b/src/test/incremental/feature_gate.rs
index d36044ec92b..5317a9962f4 100644
--- a/src/test/incremental/feature_gate.rs
+++ b/src/test/incremental/feature_gate.rs
@@ -4,10 +4,10 @@
 // compile-flags: -Z query-dep-graph
 
 #![feature(rustc_attrs)]
-#![cfg_attr(rpass1, feature(nll))]
+#![cfg_attr(rpass1, feature(abi_unadjusted))]
 
 fn main() {
-    let mut v = vec![1];
-    v.push(v[0]);
-    //[cfail2]~^ ERROR cannot borrow
 }
+
+extern "unadjusted" fn foo() {}
+//[cfail2]~^ ERROR: unadjusted ABI is an implementation detail and perma-unstable