rust-analyzer/crates/hir_ty/src
bors[bot] c050e972a3
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] f288cd2e17

Fixes: #6956 


Co-authored-by: Thiébaud Weksteen <tweek@google.com>
2021-01-22 13:14:40 +00:00
..
diagnostics prepare to publish el libro de arena 2021-01-14 19:06:02 +03:00
infer Handle box with allocator 2021-01-22 13:50:23 +01:00
tests Handle box with allocator 2021-01-22 13:50:23 +01:00
traits Bump chalk 2020-12-23 12:58:23 +02:00
autoderef.rs Rename ra_hir_ty -> hir_ty 2020-08-13 16:35:29 +02:00
db.rs Remove map module from la-arena public API 2021-01-15 11:14:04 +11:00
diagnostics.rs Make public DefMap fields private 2021-01-20 15:41:18 +01:00
display.rs Render Fn* trait objects and impl types as rust does 2021-01-13 13:29:47 +01:00
infer.rs Remove map module from la-arena public API 2021-01-15 11:14:04 +11:00
lib.rs Don't emit arg count diagnostics for method calls with unknown receiver 2021-01-01 20:49:18 +01:00
lower.rs Remove map module from la-arena public API 2021-01-15 11:14:04 +11:00
method_resolution.rs Make public DefMap fields private 2021-01-20 15:41:18 +01:00
op.rs Rename ra_hir_ty -> hir_ty 2020-08-13 16:35:29 +02:00
primitive.rs Rename ra_hir_ty -> hir_ty 2020-08-13 16:35:29 +02:00
test_db.rs Make public DefMap fields private 2021-01-20 15:41:18 +01:00
tests.rs Rename CrateDefMap to DefMap 2021-01-18 20:18:05 +01:00
traits.rs Upgrade Chalk 2020-12-07 11:48:58 +01:00
utils.rs Higher-ranked trait bounds for where clauses 2020-12-17 22:01:42 +01:00