rust/crates/ra_assists
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
..
src Merge #4445 2020-05-14 11:20:42 +00:00
Cargo.toml Use generic_defaults and display_source_code 2020-05-14 09:56:20 +03:00