diff options
| author | Mike Hommey <mh@glandium.org> | 2018-04-19 16:20:53 +0900 |
|---|---|---|
| committer | Mike Hommey <mh@glandium.org> | 2018-04-20 09:49:13 +0900 |
| commit | 64f5233c445406cc576b9ce371af3211c05a26e4 (patch) | |
| tree | af5803a0e5b42f35f89453c74e4775d85c150722 /src/test/incremental/thinlto | |
| parent | 6614fa0981f5d5555f7cd2f11e258fe989e98032 (diff) | |
| download | rust-64f5233c445406cc576b9ce371af3211c05a26e4.tar.gz rust-64f5233c445406cc576b9ce371af3211c05a26e4.zip | |
Adapt the owned_box lang item to allow a Box type with defaulted parameters
A Box type with associated allocator would, on its own, be a backwards incompatible change, because of the additional parameter, but if that additional parameter has a default, then backwards compatibility with the current definition of the type is preserved. But the owned_box lang item currently doesn't allow such extra parameters, so add support for this.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
