rust/crates/ra_syntax/src
bors[bot] f1587ac263
Merge #4445
4445: Correctly fill default type parameters r=flodiebold a=montekki

Fixes #3877 

So, basically even if the parameters are omitted from the `impl` block, check the parameters in `trait` if they have a default type, and if they do go from `hir` to `ast::TypeArg`. I've added a helper for that but I am not sure that it's a proper way to go from `hir` to `ast` here.

Co-authored-by: Fedor Sakharov <fedor.sakharov@gmail.com>
2020-05-14 11:20:42 +00:00
..
ast Change type_arg to type_ref func 2020-05-14 10:14:04 +03:00
parsing Use more natural signature for Edit::apply 2020-05-05 23:23:29 +02:00
validation Introduce EffectExpr 2020-05-02 11:21:39 +02:00
algo.rs Convert code to text-size 2020-04-25 11:59:18 +02:00
ast.rs Introduce EffectExpr 2020-05-02 11:21:39 +02:00
fuzz.rs Rename AtomTextEdit -> Indel 2020-05-05 23:15:49 +02:00
lib.rs Use more natural signature for Edit::apply 2020-05-05 23:23:29 +02:00
parsing.rs ra_syntax: refactored the lexer design as per @matklad and @kiljacken PR review 2020-02-04 00:00:55 +02:00
ptr.rs Convert code to text-size 2020-04-25 11:59:18 +02:00
syntax_error.rs Convert code to text-size 2020-04-25 11:59:18 +02:00
syntax_node.rs Convert code to text-size 2020-04-25 11:59:18 +02:00
tests.rs Switch to TryFrom 2020-04-25 11:59:18 +02:00
validation.rs Use back ticks instead of single quotes around code 2020-05-14 01:06:07 +02:00