Update compile-fail test with new message that is generated as a
result of using `ty::type_is_sized`
This commit is contained in:
parent
55c6a68f11
commit
18f426e647
@ -8,6 +8,13 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
//~^^^^^^^^^^ ERROR overflow
|
||||
//
|
||||
// We also get a second error message at the top of file (dummy
|
||||
// span). This is not helpful, but also kind of annoying to prevent,
|
||||
// so for now just live with it, since we also get a second message
|
||||
// that is more helpful.
|
||||
|
||||
enum Nil {NilValue}
|
||||
struct Cons<T> {head:int, tail:T}
|
||||
trait Dot {fn dot(&self, other:Self) -> int;}
|
||||
|
Loading…
x
Reference in New Issue
Block a user