Remove unsized enum test
This was already tested (at least) by src/test/ui/unsized/unsized-enum2.rs
This commit is contained in:
parent
a1f81ff0ad
commit
70fafed3c8
1 changed files with 0 additions and 13 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue