actually error on failing miri-pass tests
+ remove a test that never succeeded
This commit is contained in:
parent
5d1080d0ca
commit
e28f873756
2 changed files with 1 additions and 19 deletions
|
@ -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) => {
|
||||
|
|
|
@ -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]);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue