Rollup merge of #71711 - Mark-Simulacrum:deignore-tests, r=nikomatsakis
Updates to some ignored tests This removes or fixes some ignored test cases. cc #13745
This commit is contained in:
commit
04776b15a7
@ -1,10 +1,10 @@
|
||||
// aux-build:issue-27362.rs
|
||||
// aux-build:issue-27362-aux.rs
|
||||
// ignore-cross-compile
|
||||
// ignore-test This test fails on beta/stable #32019
|
||||
|
||||
extern crate issue_27362;
|
||||
pub use issue_27362 as quux;
|
||||
extern crate issue_27362_aux;
|
||||
|
||||
// @matches issue_27362/quux/fn.foo.html '//pre' "pub const fn foo()"
|
||||
// @matches issue_27362/quux/fn.bar.html '//pre' "pub const unsafe fn bar()"
|
||||
// @matches issue_27362/quux/struct.Foo.html '//code' "const unsafe fn baz()"
|
||||
pub use issue_27362_aux::*;
|
||||
|
||||
// @matches issue_27362/fn.foo.html '//pre' "pub const fn foo()"
|
||||
// @matches issue_27362/fn.bar.html '//pre' "pub const unsafe fn bar()"
|
||||
// @matches issue_27362/struct.Foo.html '//code' "const unsafe fn baz()"
|
||||
|
@ -1,14 +0,0 @@
|
||||
// Test that we use fully-qualified type names in error messages.
|
||||
|
||||
// ignore-test
|
||||
|
||||
type T1 = usize;
|
||||
type T2 = isize;
|
||||
|
||||
fn bar(x: T1) -> T2 {
|
||||
return x;
|
||||
//~^ ERROR mismatched types: expected `T2`, found `T1`
|
||||
}
|
||||
|
||||
fn main() {
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
// ignore-test the unsized enum no longer compiles
|
||||
|
||||
enum A {
|
||||
B(char),
|
||||
C([Box<A>]),
|
||||
}
|
||||
|
||||
fn c(c:char) {
|
||||
A::B(c);
|
||||
//~^ ERROR cannot move a value of type A: the size of A cannot be statically determined
|
||||
}
|
||||
|
||||
pub fn main() {}
|
Loading…
Reference in New Issue
Block a user