rust-analyzer/crates/ide/src
bors c386316fe0 Auto merge of #14185 - anergictcell:fix_14142, r=HKalbasi
Fix: Run doctests for structs with lifetime parameters from IDE

Fixes #14142: Doctests can't be triggered for structs with lifetimes

This MR adds lifetime parameters to the structs path for runnables so that they can be triggered from an IDE as well.

This is my first MR for rust-analyzer, please let me know if I should change something, either in code or the description here.
2023-02-28 09:52:03 +00:00
..
annotations Fix annotations not resolving when lens location is set to whole item 2022-10-01 00:18:23 +02:00
doc_links Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
hover beginning of MIR 2023-02-27 23:45:54 +03:30
inlay_hints beginning of MIR 2023-02-27 23:45:54 +03:30
prime_caches Re-export FxHashMap and FxHashSet from ide_db 2022-04-25 18:51:59 +02:00
syntax_highlighting Recover better for more delimited sequences 2023-02-14 13:52:15 +01:00
typing Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
annotations.rs Fix annotations not resolving when lens location is set to whole item 2022-10-01 00:18:23 +02:00
call_hierarchy.rs fmt 2022-12-03 01:20:27 +01:00
doc_links.rs add to manual 2023-02-20 11:38:33 -05:00
expand_macro.rs remove needless borrows 2023-01-02 14:52:32 +00:00
extend_selection.rs remove unnecessary lazy evaluations 2023-01-02 15:02:54 +00:00
file_structure.rs tidy by rustfmt 2023-01-30 20:34:07 +01:00
fixture.rs add some tests 2021-09-26 12:48:53 +03:30
folding_ranges.rs feat: add fold range for multi line match arm list 2022-06-18 16:05:56 +08:00
goto_declaration.rs fix indentation of unlinked_file quickfix 2023-01-12 11:24:44 +01:00
goto_definition.rs Fix resolving types when resolving HIR and add a related test 2023-02-26 21:50:39 +09:00
goto_implementation.rs remove unnecessary lazy evaluations 2023-01-02 15:02:54 +00:00
goto_type_definition.rs Don't show trait flyimports for impl trait and placeholders 2021-12-10 19:18:21 +01:00
highlight_related.rs Refine search for const and function assoc items 2023-01-11 17:10:04 +01:00
hover.rs beginning of MIR 2023-02-27 23:45:54 +03:30
inlay_hints.rs Properly use location links for type hints of impl Future and its assoc type 2023-02-07 22:42:03 +01:00
join_lines.rs collapse some nested blocks 2023-01-10 20:40:08 +00:00
lib.rs Support UTF-32 position encoding 2023-02-14 01:09:50 +00:00
markdown_remove.rs REplace soft breaks in markdown with spaces 2023-01-23 12:21:23 +01:00
markup.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
matching_brace.rs Fix r-a spelling in some places 2022-08-01 13:47:09 +02:00
moniker.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
move_item.rs Fix r-a spelling in some places 2022-08-01 13:47:09 +02:00
navigation_target.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
parent_module.rs fix: Fix DidSaveDocument requests blocking the server on startup 2022-10-20 19:55:04 +02:00
prime_caches.rs Make use of NoHash hashing for FileId and CrateId 2022-08-25 20:41:49 +02:00
references.rs Search raw identifiers without prefix 2023-02-14 17:34:14 +09:00
rename.rs Search raw identifiers without prefix 2023-02-14 17:34:14 +09:00
runnables.rs Rename method to generic_parameters 2023-02-28 10:32:42 +01:00
shuffle_crate_graph.rs Support UTF-32 position encoding 2023-02-14 01:09:50 +00:00
signature_help.rs Cleanup signature help a bit 2023-02-13 11:25:45 +01:00
ssr.rs Re-export FxHashMap and FxHashSet from ide_db 2022-04-25 18:51:59 +02:00
static_index.rs beginning of MIR 2023-02-27 23:45:54 +03:30
status.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
syntax_highlighting.rs collapse some nested blocks 2023-01-10 20:40:08 +00:00
syntax_tree.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
typing.rs fix: Don't insert a semicolon when typing = if parse errors are encountered 2023-02-08 12:06:35 +01:00
view_crate_graph.rs Make use of NoHash hashing for FileId and CrateId 2022-08-25 20:41:49 +02:00
view_hir.rs Add an HIR pretty-printer 2022-08-15 13:51:45 +02:00
view_item_tree.rs Fix r-a spelling in some places 2022-08-01 13:47:09 +02:00