diff options
author | bors <bors@rust-lang.org> | 2022-12-12 14:51:03 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2022-12-12 14:51:03 +0000 |
commit | 4596847a88abb0d5077c5111c3093e724673d7a0 (patch) | |
tree | 49d912b565c37f12688a839af7aa884478b47f85 /tests/rustdoc-js-std/parser-errors.js | |
parent | 15ff8a5a9fd8d0af2793eaef091700139bba513d (diff) | |
parent | d7183fb5d08cbd021f23c4e0c9a858e0c6e77a4a (diff) | |
download | rust-4596847a88abb0d5077c5111c3093e724673d7a0.tar.gz |
Auto merge of #13746 - feniljain:fix_extract_function, r=jonas-schievink
fix: make make_body respect comments in extract_function
Possible fix for #13621
### Points to help in review:
- Earlier we were only considering statements in a block expr and hence comments were being ignored, now we handle tokens hence making it aware of comments and then preserving them using `hacky_block_expr_with_comments`
Seems like I am not able to attach output video, github is glitching for it :(
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions