]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-17431-2.stderr
Rollup merge of #60492 - acrrd:issues/54054_chain, r=SimonSapin
[rust.git] / src / test / ui / issues / issue-17431-2.stderr
index 7e87babe93e85b3dbe99b7262ad5fa810e023211..3a7b0e9ce7997b66def8b48da995582bd6b360a1 100644 (file)
@@ -1,5 +1,5 @@
 error[E0072]: recursive type `Baz` has infinite size
-  --> $DIR/issue-17431-2.rs:11:1
+  --> $DIR/issue-17431-2.rs:1:1
    |
 LL | struct Baz { q: Option<Foo> }
    | ^^^^^^^^^^   -------------- recursive without indirection
@@ -9,7 +9,7 @@ LL | struct Baz { q: Option<Foo> }
    = help: insert indirection (e.g., a `Box`, `Rc`, or `&`) at some point to make `Baz` representable
 
 error[E0072]: recursive type `Foo` has infinite size
-  --> $DIR/issue-17431-2.rs:14:1
+  --> $DIR/issue-17431-2.rs:4:1
    |
 LL | struct Foo { q: Option<Baz> }
    | ^^^^^^^^^^   -------------- recursive without indirection