diff options
| author | bors <bors@rust-lang.org> | 2020-08-07 13:29:25 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-08-07 13:29:25 +0000 |
| commit | 64f99b4cfbf01c8fda1d4fe16e9b37b11096b7c3 (patch) | |
| tree | 95696e3346c247994a9a21199482e22defd595fe /src/rustllvm/RustWrapper.cpp | |
| parent | 1e0e618cfbcb9240e6beac8cd16778b369ebe1b7 (diff) | |
| parent | a7eabec1df53fe726455c8088ecc0da07dd4009d (diff) | |
| download | rust-64f99b4cfbf01c8fda1d4fe16e9b37b11096b7c3.tar.gz rust-64f99b4cfbf01c8fda1d4fe16e9b37b11096b7c3.zip | |
Auto merge of #74627 - petrochenkov:docbeauty2, r=Aaron1011
rustc_ast: Stop using "string typing" for doc comment tokens Explicitly store their kind and style retrieved during lexing in the `token::DocComment`. Also don't "beautify" doc comments before converting them to `#[doc]` attributes when passing them to macros (both declarative and procedural). The trimming of empty lines, lines containing only `*`s, etc is purely a rustdoc's job as a part of its presentation of doc strings to users, rustc must not do this and must pass tokens as precisely as possible internally.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
