rust-analyzer/crates/hir_ty/src
bors[bot] 5ef0c7a213
Merge #8283
8283: Resolve associated types r=flodiebold a=Veykril

Prior we were only resolving paths until the first type was found, then discarding the result if the path wasn't fully consumed. That of course causes associated types to not resolve. Fixes #5003

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2021-04-01 21:11:06 +00:00
..
diagnostics Fix expansion of OR-patterns in match check 2021-03-30 15:01:47 +02:00
infer internal: ensure that runaway type-inference doesn't block the main loop 2021-03-29 23:15:12 +03:00
tests Fix block inner item defined in macro 2021-04-01 03:45:21 +08:00
traits Fix chalk_ir assertion 2021-03-24 23:10:13 +01:00
autoderef.rs Align InEnvironment with Chalk 2021-03-21 20:19:07 +01:00
chalk_cast.rs Turn Obligation into something similar to chalk_ir::DomainGoal 2021-03-20 12:47:12 +01:00
db.rs hir_def: move visibility queries from hir_ty to hir_def 2021-03-24 23:00:03 +01:00
diagnostics.rs Prefer names from outer DefMap over extern prelude 2021-03-10 16:33:18 +01:00
display.rs Use arrayvec 0.6 2021-03-25 21:03:20 +02:00
infer.rs completion relevance consider if types can be unified 2021-03-26 09:11:50 -07:00
lib.rs completion relevance consider if types can be unified 2021-03-26 09:11:50 -07:00
lower.rs Resolve associated types with type anchors 2021-04-01 21:52:07 +02:00
method_resolution.rs Use arrayvec 0.6 2021-03-25 21:03:20 +02:00
op.rs Separate Ty and TyKind like in Chalk 2021-03-13 16:17:15 +01:00
primitive.rs Use chalk_ir::Scalar directly 2021-02-28 11:06:37 +01:00
test_db.rs Create all ModuleIds through a DefMap method 2021-01-25 15:21:33 +01:00
tests.rs Test for a Salsa bug 2021-03-21 13:33:06 +01:00
traits.rs Align InEnvironment with Chalk 2021-03-21 20:19:07 +01:00
utils.rs Fix chalk_ir assertion 2021-03-24 23:10:13 +01:00