1
Fork 0

actually error on failing miri-pass tests

+ remove a test that never succeeded
This commit is contained in:
Oliver Schneider 2016-09-26 17:49:53 +02:00
parent 5d1080d0ca
commit e28f873756
No known key found for this signature in database
GPG key ID: 56D6EEA0FC67AC46
2 changed files with 1 additions and 19 deletions

View file

@ -105,6 +105,7 @@ fn compile_test() {
writeln!(stderr.lock(), "FAILED with exit code {:?}", output.status.code()).unwrap();
writeln!(stderr.lock(), "stdout: \n {}", std::str::from_utf8(&output.stdout).unwrap()).unwrap();
writeln!(stderr.lock(), "stderr: \n {}", output_err).unwrap();
panic!("failed to run test");
}
}
Err(e) => {

View file

@ -1,19 +0,0 @@
// Copyright 2016 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
use std::sync::Arc;
trait Foo {}
impl Foo for [u8; 2] {}
fn main() {
let _: Arc<Foo + Send> = Arc::new([3, 4]);
}