Closed rylev closed 3 years ago
As hinted in #84, we should (when possible) automatically box types when they are used as the type of their own field.
For example, it should be possible to detect the following situation:
struct Foo { bar: Bar, foo: Foo }
and turn it into:
struct Foo { bar: Bar, foo: Box<Foo> }
moved to https://github.com/Azure/azure-sdk-for-rust/issues/225
As hinted in #84, we should (when possible) automatically box types when they are used as the type of their own field.
For example, it should be possible to detect the following situation:
and turn it into: