diff options
author | ThiƩbaud Weksteen <[email protected]> | 2021-01-22 10:17:45 +0000 |
---|---|---|
committer | ThiƩbaud Weksteen <[email protected]> | 2021-01-22 12:50:23 +0000 |
commit | be0691b02bd739310f6d6518dc10f01b9a692598 (patch) | |
tree | 5969dde061abd29d96d0c74f16d1d65775cb5937 /crates/hir_def/src/body | |
parent | fde4a860aea903a0455a05c1def1d07a6573639b (diff) |
Handle box with allocator
In 1.49.0, the definition of Box was modified to support an optional
Allocator[1]. Adapt the parsing of the `box` keyword to supply the
expected number of parameters to the constructor.
[1] https://github.com/rust-lang/rust/commit/f288cd2e179f600fa00c2a407206a12f6c5a91e0
Diffstat (limited to 'crates/hir_def/src/body')
0 files changed, 0 insertions, 0 deletions