rust/crates
bors[bot] 26ae35c62e
Merge #3499
3499: Resolve `Self::AssocTy` in impls r=matklad a=flodiebold

To do this we need to carry around the original resolution a bit, because `Self`
gets resolved to the actual type immediately, but you're not allowed to write
the equivalent type in a projection. (I tried just comparing the projection base
type with the impl self type, but that seemed too dirty.) This is basically how
rustc does it as well.

Fixes #3249.

Co-authored-by: Florian Diebold <florian.diebold@freiheit.com>
2020-03-06 19:50:55 +00:00
..
ra_arena
ra_assists Rerail split_import API onto AST 2020-03-06 14:08:43 +01:00
ra_cargo_watch lsp-types 0.72 2020-03-02 11:52:46 -05:00
ra_cfg
ra_db Source map returns a result 2020-03-06 14:44:44 +01:00
ra_fmt
ra_hir Source map returns a result 2020-03-06 14:44:44 +01:00
ra_hir_def Less confusing profile names 2020-03-06 16:40:38 +01:00
ra_hir_expand Implment include macro 2020-03-06 22:58:45 +08:00
ra_hir_ty Resolve Self::AssocTy in impls 2020-03-06 18:14:39 +01:00
ra_ide Don't creat public APIs with typos 2020-03-06 18:38:56 +01:00
ra_ide_db Don't creat public APIs with typos 2020-03-06 18:38:56 +01:00
ra_mbe fix regression from #3451 2020-03-06 04:32:08 +08:00
ra_parser Implement concat macro 2020-03-04 01:21:14 +08:00
ra_prof Allow specifying additional info on call to profile 2020-03-06 17:36:51 +01:00
ra_project_model ra_project_model: migrate to Sysroot::alloc() 2020-03-01 00:16:57 +02:00
ra_syntax make::use_item 2020-03-06 15:56:25 +01:00
ra_text_edit Remove unused dependencies 2020-02-27 14:04:13 +09:00
ra_tt
rust-analyzer Concise mode for parameter hints 2020-03-06 18:35:30 +01:00
test_utils Support cross-crate marks 2020-03-04 11:55:25 +01:00