rust-analyzer/crates/ra_hir_ty/src
Florian Diebold 2745cb37c1 Use correct substs for super trait assoc types
When referring to an associated type of a super trait, we used the substs of the
subtrait. That led to the #4931 crash if the subtrait had less parameters, but
it could also lead to other incorrectness if just the order was different.

Fixes #4931.
2020-06-19 21:46:47 +02:00
..
infer Fix substs in resolve_value_path for ImplSelf 2020-06-19 20:33:04 +02:00
tests Use correct substs for super trait assoc types 2020-06-19 21:46:47 +02:00
traits Clean up handling of int/float literal types 2020-06-06 17:52:00 +02:00
_match.rs Avoid all unchecked indexing in match checking 2020-06-17 21:41:07 +02:00
autoderef.rs Switch Chalk to recursive solver 2020-04-16 13:06:23 +02:00
db.rs Implement return position impl trait / opaque type support 2020-06-05 17:08:27 +02:00
diagnostics.rs Add quickfix to add a struct field 2020-06-12 18:52:44 +02:00
display.rs Review fixes 2020-06-05 17:41:58 +02:00
expr.rs Make known paths use core instead of std 2020-06-11 16:23:20 +02:00
infer.rs Make known paths use core instead of std 2020-06-11 16:23:20 +02:00
lib.rs Apply suggestions from code review 2020-06-18 10:15:43 +03:00
lower.rs Use correct substs for super trait assoc types 2020-06-19 21:46:47 +02:00
method_resolution.rs Clean up handling of int/float literal types 2020-06-06 17:52:00 +02:00
op.rs infer: Make expected rhs type for plain assign the lhs type 2020-05-10 16:24:04 +02:00
primitive.rs Clean up handling of int/float literal types 2020-06-06 17:52:00 +02:00
test_db.rs Make relevant_crates return a Set 2020-06-11 11:30:06 +02:00
tests.rs Merge #4175 2020-05-09 09:29:11 +00:00
traits.rs Update Chalk, and cache Chalk env elaboration through a query 2020-04-20 19:16:01 +02:00
utils.rs Use correct substs for super trait assoc types 2020-06-19 21:46:47 +02:00