rust/crates
Florian Diebold 18bf278c25 Handle associated type shorthand (T::Item)
This is only allowed for generic parameters (including `Self` in traits), and
special care needs to be taken to not run into cycles while resolving it,
because we use the where clauses of the generic parameter to find candidates for
the trait containing the associated type, but the where clauses may themselves
contain instances of short-hand associated types.

In some cases this is even fine, e.g. we might have `T: Trait<U::Item>, U:
Iterator`. If there is a cycle, we'll currently panic, which isn't great, but
better than overflowing the stack...
2019-09-22 20:02:32 +02:00
..
ra_arena cleanup 2019-08-06 10:57:16 +02:00
ra_assists Handle associated type shorthand (T::Item) 2019-09-22 20:02:32 +02:00
ra_batch don't break parser error recovery in presence of macros 2019-09-12 12:38:07 +03:00
ra_cli Merge #1862 2019-09-17 21:16:28 +00:00
ra_db introduce hir debugging infra 2019-09-09 12:32:16 +03:00
ra_fmt fix hir for new block syntax 2019-09-02 21:23:19 +03:00
ra_hir Handle associated type shorthand (T::Item) 2019-09-22 20:02:32 +02:00
ra_ide_api allow compiling ra_ide_api on wasm 2019-09-20 20:39:02 +03:00
ra_lsp_server move fold conversino to conv.rs 2019-09-19 18:27:47 +03:00
ra_mbe slightly cleanup macro tests 2019-09-19 13:44:51 +03:00
ra_parser Support loop as argument 2019-09-20 16:35:29 -04:00
ra_prof ⬆️ once_cell 2019-09-01 23:18:15 +03:00
ra_project_model introduce hir debugging infra 2019-09-09 12:32:16 +03:00
ra_syntax Support loop as argument 2019-09-20 16:35:29 -04:00
ra_text_edit allow rustfmt to reorder imports 2019-07-04 23:09:09 +03:00
ra_tools Support open source version of vscode as well 2019-09-21 10:24:41 +02:00
ra_tt allow rustfmt to reorder imports 2019-07-04 23:09:09 +03:00
ra_vfs_glob add option to disable notify 2019-09-06 17:21:29 +03:00
test_utils translate \n -> \r\n on the way out 2019-08-20 19:53:05 +03:00