We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55c6a68 commit 18f426eCopy full SHA for 18f426e
src/test/compile-fail/recursion.rs
@@ -8,6 +8,13 @@
8
// option. This file may not be copied, modified, or distributed
9
// except according to those terms.
10
11
+//~^^^^^^^^^^ ERROR overflow
12
+//
13
+// We also get a second error message at the top of file (dummy
14
+// span). This is not helpful, but also kind of annoying to prevent,
15
+// so for now just live with it, since we also get a second message
16
+// that is more helpful.
17
+
18
enum Nil {NilValue}
19
struct Cons<T> {head:int, tail:T}
20
trait Dot {fn dot(&self, other:Self) -> int;}
0 commit comments