From 8eef102270647af94f38274efb9a2fd5ef8a92ec Mon Sep 17 00:00:00 2001 From: Matthew Jasper Date: Mon, 22 Apr 2019 08:40:08 +0100 Subject: update tests for migrate mode by default --- src/test/incremental/feature_gate.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/test/incremental') 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 -- cgit 1.4.1-3-g733a5