Skip to content

Commit

Permalink
Unignore tests which work fine now.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-Simulacrum committed Apr 29, 2017
1 parent 128aa26 commit f48a8f5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
5 changes: 2 additions & 3 deletions src/test/compile-fail/const-eval-overflow-4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-test this should fail to compile (#23833)

// Evaluation of constants in array-elem count goes through different
// compiler control-flow paths.
//
Expand All @@ -23,7 +21,8 @@ use std::{u8, u16, u32, u64, usize};

const A_I8_T
: [u32; (i8::MAX as i8 + 1i8) as usize]
//~^ ERROR error evaluating count: attempt to add with overflow
//~^ ERROR constant evaluation error
//~^^ NOTE attempt to add with overflow
= [0; (i8::MAX as usize) + 1];

fn main() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-test
// ignore-test not a test, auxillary
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-test
// ignore-test not a test, auxillary

mod_decl!(bar);
1 change: 0 additions & 1 deletion src/test/run-fail/call-fn-never-arg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

// Test that we can use a ! for an argument of type !

// ignore-test FIXME(durka) can't be done with the current liveness code
// error-pattern:wowzers!

#![feature(never_type)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-test
// ignore-test not a test, auxillary

#![feature(macro_reexport)]

Expand Down

0 comments on commit f48a8f5

Please sign in to comment.