rust/crates
bors[bot] 91bf15a2f5
Merge #6834
6834: Use Attrs::docs in runnables instead of DocCommentsOwner r=kjeremy a=Veykril

I figured that we should probably move as much of the doc usage to the HIR as possible hence this PR. If we should keep this AST-based feel free to close.

This change does have the nice(but not really useful as I doubt anyones gonna write doc tests like these) side effect that these two doc string snippets allow being run now.
![image](https://user-images.githubusercontent.com/3757771/101945607-bf241400-3bee-11eb-96ce-ccae80028b1f.png)
![image](https://user-images.githubusercontent.com/3757771/101946375-2e9a0380-3bef-11eb-9950-e35168fdd048.png)


Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
2020-12-11 19:57:08 +00:00
..
arena Add TBD description to arena 2020-08-24 13:29:10 +02:00
assists Normalize spelling to American English 2020-12-10 17:51:56 +03:00
base_db Introduce anchored_path 2020-12-09 19:07:05 +03:00
cfg Remove dead code 2020-11-17 15:25:57 +01:00
completion Use natural trait ordering in derive completion 2020-12-11 15:45:53 +03:00
flycheck Pin cargo_metadata 2020-11-25 10:11:53 -05:00
hir Improve code structure 2020-12-11 17:06:21 +03:00
hir_def Merge #6834 2020-12-11 19:57:08 +00:00
hir_expand Use decimal notation 2020-12-10 18:03:37 +01:00
hir_ty Merge #6769 2020-12-10 16:18:49 +00:00
ide Merge #6834 2020-12-11 19:57:08 +00:00
ide_db Normalize spelling to American English 2020-12-10 17:51:56 +03:00
mbe Add dedicated error for "proc macro not found" 2020-11-27 13:50:20 +01:00
parser Parse unsafe extern block 2020-11-22 20:44:56 -08:00
paths Add description for crates that will be published 2020-08-24 13:07:22 +02:00
proc_macro_api Remove dummy ProcMacroClient in favor of Option 2020-12-07 17:16:50 +01:00
proc_macro_srv Avoid nesting Subtrees when parsing TokenStream 2020-12-09 14:58:46 +01:00
proc_macro_test Add description for crates that will be published 2020-08-24 13:07:22 +02:00
profile Deny unreachable-pub 2020-11-02 14:07:08 +01:00
project_model Use itertools 2020-12-10 19:29:11 +01:00
rust-analyzer Move print_memory_usage to cli.rs 2020-12-11 18:24:27 +01:00
ssr Remove more unreachable pubs 2020-11-02 16:58:33 +01:00
stdx add open Cargo.toml action 2020-11-12 17:48:07 -08:00
syntax Fix accidently quadratic syntax rewriter 2020-12-10 20:07:37 +03:00
test_utils Make config.rs a single source of truth for configuration. 2020-12-08 19:25:41 +03:00
text_edit Avoid turning completion objects into builders 2020-11-16 23:16:41 +02:00
toolchain Add description for crates that will be published 2020-08-24 13:07:22 +02:00
tt Simplify error formatting 2020-11-26 21:07:15 +02:00
vfs Merge #6785 2020-12-09 16:32:03 +00:00
vfs-notify Follow symlinks when walking project trees 2020-10-15 14:22:36 -04:00