mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-30 15:03:42 +00:00
c050e972a3
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]
|
||
---|---|---|
.. | ||
diagnostics | ||
infer | ||
tests | ||
traits | ||
autoderef.rs | ||
db.rs | ||
diagnostics.rs | ||
display.rs | ||
infer.rs | ||
lib.rs | ||
lower.rs | ||
method_resolution.rs | ||
op.rs | ||
primitive.rs | ||
test_db.rs | ||
tests.rs | ||
traits.rs | ||
utils.rs |