rust/crates/hir_ty/src
Florian Diebold e5fd550dfd Use correct, full substs for self type in impl
Without arbitrary self types, the self type could never refer to the method type
parameters, so this wasn't a problem; but with arbitrary self types, it can.

This fixes the crash from #6668; but it doesn't make method resolution work for
these methods.
2020-12-04 18:43:47 +01:00
..
diagnostics Check structs for match exhaustiveness 2020-11-24 18:50:56 +01:00
infer Properly infer tuple struct patterns when encountering ellipsis 2020-11-24 16:11:40 +01:00
tests Use correct, full substs for self type in impl 2020-12-04 18:43:47 +01:00
traits Remove more unreachable pubs 2020-11-02 16:58:33 +01:00
autoderef.rs
db.rs
diagnostics.rs Add descriptions for diagnostics parseable by xtask 2020-10-19 20:55:16 +03:00
display.rs refactor(hir_ty): do not override DisplayTarget in hir_fmt 2020-10-28 17:58:16 +01:00
infer.rs Remove more unreachable pubs 2020-11-02 16:58:33 +01:00
lib.rs Deny unreachable-pub 2020-11-02 14:07:08 +01:00
lower.rs
method_resolution.rs Use correct, full substs for self type in impl 2020-12-04 18:43:47 +01:00
op.rs
primitive.rs
test_db.rs Deny unreachable-pub 2020-11-02 14:07:08 +01:00
tests.rs Replace RacyFlag with OnceCell 2020-11-11 03:11:40 +01:00
traits.rs Improve Chalk debugging 2020-10-23 15:28:02 +02:00
utils.rs