Update compile-fail test with new message that is generated as a

result of using `ty::type_is_sized`
This commit is contained in:
Niko Matsakis 2015-01-07 15:32:36 -05:00
parent 55c6a68f11
commit 18f426e647

View File

@ -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;}