rust/crates
bors[bot] efb9b89163
Merge #11220
11220: Turbo fish assist: don't include lifetime parameters r=Veykril a=Vannevelj

Fixes #11219

The issue talks about three different types of params: type, const & lifetime. I wasn't entirely sure which ones are intended to be included here so I've gone for the type & const params (i.e. exclude lifetime).

I've added a test case for both a lifetime param and a const param. I'm still making my way through the rust book (chapter 7, yay) so I'm not too sure yet what these are but my testing shows that this approach generates code that compiles.

Co-authored-by: Jeroen Vannevel <jer_vannevel@outlook.com>
2022-01-07 14:02:01 +00:00
..
base_db Merge #11069 2021-12-20 16:50:35 +00:00
cfg Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00
flycheck Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00
hir Use FileAstId<ast::Adt> in nameres where appropriate instead 2022-01-07 14:20:27 +01:00
hir_def Update item tree test output 2022-01-07 14:29:58 +01:00
hir_expand Use FileAstId<ast::Adt> in nameres where appropriate instead 2022-01-07 14:20:27 +01:00
hir_ty Remove unused lifetime 2022-01-05 10:19:10 -05:00
ide Use FileAstId<ast::Adt> in nameres where appropriate instead 2022-01-07 14:20:27 +01:00
ide_assists Merge #11220 2022-01-07 14:02:01 +00:00
ide_completion Merge #11218 2022-01-06 23:17:51 +00:00
ide_db Always put a space after impl in macro pretty-printing 2022-01-06 11:33:08 +01:00
ide_diagnostics Merge #11028 2021-12-20 13:45:35 +00:00
ide_ssr compress 2021-12-28 19:17:34 +03:00
limit Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00
mbe simplify 2022-01-03 16:27:16 +03:00
parser add empty input tests 2022-01-02 18:50:32 +03:00
paths Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00
proc_macro_api Merge #11028 2021-12-20 13:45:35 +00:00
proc_macro_srv Rename and use the 1.55 ABI for 1.54 2022-01-04 14:06:26 +02:00
proc_macro_test Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00
profile Generate AnyHasDocComments node 2022-01-07 12:38:18 +01:00
project_model feat: Add config to replace specific proc-macros with dummy expanders 2022-01-06 13:50:18 +01:00
rust-analyzer feat: poke user when supplying faulty configurations 2022-01-06 14:24:19 +01:00
sourcegen Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00
stdx Generate AnyHasDocComments node 2022-01-07 12:38:18 +01:00
syntax Better interface for doc comment and attribute processing 2022-01-07 14:14:33 +01:00
test_utils fix: Do not complete Drop::drop, complete std::mem::drop instead 2021-12-22 02:25:38 +01:00
text_edit Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00
toolchain Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00
tt Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00
vfs Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00
vfs-notify Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00