]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/sized-cycle-note.stderr
Rollup merge of #93112 - pietroalbini:pa-cve-2022-21658-nightly, r=pietroalbini
[rust.git] / src / test / ui / sized-cycle-note.stderr
index 45062c2ea6c7239fa0a847f9a06d36a8223daf55..0726b16a91948d0afbeffe413bb630f55bca1067 100644 (file)
@@ -9,7 +9,7 @@ LL | struct Baz { q: Option<Foo> }
 help: insert some indirection (e.g., a `Box`, `Rc`, or `&`) to make `Baz` representable
    |
 LL | struct Baz { q: Box<Option<Foo>> }
-   |                 ^^^^           ^
+   |                 ++++           +
 
 error[E0072]: recursive type `Foo` has infinite size
   --> $DIR/sized-cycle-note.rs:11:1
@@ -22,7 +22,7 @@ LL | struct Foo { q: Option<Baz> }
 help: insert some indirection (e.g., a `Box`, `Rc`, or `&`) to make `Foo` representable
    |
 LL | struct Foo { q: Box<Option<Baz>> }
-   |                 ^^^^           ^
+   |                 ++++           +
 
 error: aborting due to 2 previous errors