diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-01-22 13:14:40 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-22 13:14:40 +0000 |
commit | c050e972a3630cf73f0e5290d2952b6c875f6321 (patch) | |
tree | 6b1028a8386b478c13aa04f5000d890e81e8f428 /crates/hir_expand/src/diagnostics.rs | |
parent | eba97564580db2531d8dbc0707c39b60ae506ded (diff) | |
parent | be0691b02bd739310f6d6518dc10f01b9a692598 (diff) |
Merge #7386
7386: Handle box with allocator r=flodiebold a=tweksteen
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
Fixes: #6956
Co-authored-by: ThiƩbaud Weksteen <[email protected]>
Diffstat (limited to 'crates/hir_expand/src/diagnostics.rs')
0 files changed, 0 insertions, 0 deletions