about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2015-01-07 15:32:36 -0500
committerNiko Matsakis <niko@alum.mit.edu>2015-01-07 20:26:20 -0500
commit18f426e647d05a422d0fcae65c8a87a8e4befb69 (patch)
tree085beee719fccd235a1c7588c9b0e050fe252f04
parent55c6a68f1184eefb9e475b5f58272931688d2bc9 (diff)
downloadrust-18f426e647d05a422d0fcae65c8a87a8e4befb69.tar.gz
rust-18f426e647d05a422d0fcae65c8a87a8e4befb69.zip
Update compile-fail test with new message that is generated as a
result of using `ty::type_is_sized`
-rw-r--r--src/test/compile-fail/recursion.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/compile-fail/recursion.rs b/src/test/compile-fail/recursion.rs
index 67177eff9f9..da05514f763 100644
--- a/src/test/compile-fail/recursion.rs
+++ b/src/test/compile-fail/recursion.rs
@@ -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;}