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
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
completion Use natural trait ordering in derive completion 2020-12-11 15:45:53 +03:00
flycheck
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
parser
paths
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
profile
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
stdx
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
toolchain
tt
vfs Merge #6785 2020-12-09 16:32:03 +00:00
vfs-notify