diff options
| author | klensy <klensy@users.noreply.github.com> | 2024-04-25 13:17:29 +0300 |
|---|---|---|
| committer | klensy <klensy@users.noreply.github.com> | 2024-04-27 10:54:31 +0300 |
| commit | 411607bec493ac02c6038714561b52008f097a02 (patch) | |
| tree | e444e9c4f0da065bcba9de9b4b6235d5879927fa /tests/ui/structs-enums | |
| parent | 6acb9e75ebc936df737381a9d0b7a7bccd6f0b2f (diff) | |
| download | rust-411607bec493ac02c6038714561b52008f097a02.tar.gz rust-411607bec493ac02c6038714561b52008f097a02.zip | |
tests: remove some trailing ws
Diffstat (limited to 'tests/ui/structs-enums')
| -rw-r--r-- | tests/ui/structs-enums/struct-rec/issue-17431-2.stderr | 2 | ||||
| -rw-r--r-- | tests/ui/structs-enums/struct-rec/mutual-struct-recursion.stderr | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/ui/structs-enums/struct-rec/issue-17431-2.stderr b/tests/ui/structs-enums/struct-rec/issue-17431-2.stderr index cdf51632acd..e818409366d 100644 --- a/tests/ui/structs-enums/struct-rec/issue-17431-2.stderr +++ b/tests/ui/structs-enums/struct-rec/issue-17431-2.stderr @@ -11,7 +11,7 @@ help: insert some indirection (e.g., a `Box`, `Rc`, or `&`) to break the cycle | LL ~ struct Baz { q: Option<Box<Foo>> } LL | -LL | +LL | LL ~ struct Foo { q: Option<Box<Baz>> } | diff --git a/tests/ui/structs-enums/struct-rec/mutual-struct-recursion.stderr b/tests/ui/structs-enums/struct-rec/mutual-struct-recursion.stderr index 881bc281936..afe523939ac 100644 --- a/tests/ui/structs-enums/struct-rec/mutual-struct-recursion.stderr +++ b/tests/ui/structs-enums/struct-rec/mutual-struct-recursion.stderr @@ -16,7 +16,7 @@ help: insert some indirection (e.g., a `Box`, `Rc`, or `&`) to break the cycle | LL ~ y: Box<B<T>>, LL | } -LL | +LL | LL | struct B<T> { LL ~ z: Box<A<T>> | @@ -39,7 +39,7 @@ help: insert some indirection (e.g., a `Box`, `Rc`, or `&`) to break the cycle | LL ~ y: Option<Option<Box<D<T>>>>, LL | } -LL | +LL | LL | struct D<T> { LL ~ z: Option<Option<Box<C<T>>>>, | |
