summaryrefslogtreecommitdiffstats
path: root/src/test/ui/type/type-recursive-box-shadowed.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/type/type-recursive-box-shadowed.stderr')
-rw-r--r--src/test/ui/type/type-recursive-box-shadowed.stderr17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/test/ui/type/type-recursive-box-shadowed.stderr b/src/test/ui/type/type-recursive-box-shadowed.stderr
deleted file mode 100644
index cb0e98287..000000000
--- a/src/test/ui/type/type-recursive-box-shadowed.stderr
+++ /dev/null
@@ -1,17 +0,0 @@
-error[E0072]: recursive type `Foo` has infinite size
- --> $DIR/type-recursive-box-shadowed.rs:7:1
- |
-LL | struct Foo {
- | ^^^^^^^^^^
-LL |
-LL | inner: Foo,
- | --- recursive without indirection
- |
-help: insert some indirection (e.g., a `Box`, `Rc`, or `&`) to break the cycle
- |
-LL | inner: Box<Foo>,
- | ++++ +
-
-error: aborting due to previous error
-
-For more information about this error, try `rustc --explain E0072`.