about summary refs log tree commit diff
path: root/src/rustllvm/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-07-14 13:19:32 -0700
committerGitHub <noreply@github.com>2020-07-14 13:19:32 -0700
commit92e90f943cf6b62346074b3a17669c3a7c1637b4 (patch)
tree5e2d6ac0731853b1d29b04a41cd834560d3dabdd /src/rustllvm/CoverageMappingWrapper.cpp
parent7b1247c34fe40f397053344b2f98a51fcc45f2a2 (diff)
parent083c2f6ceb82b75ec04c73f2b39a414985fd9a92 (diff)
downloadrust-92e90f943cf6b62346074b3a17669c3a7c1637b4.tar.gz
rust-92e90f943cf6b62346074b3a17669c3a7c1637b4.zip
Rollup merge of #74272 - davidtwco:issue-73626-multiline-mixed-comments, r=Mark-Simulacrum
pprust: support multiline comments within lines

Fixes #73626.

This PR adds support to `rustc_ast_pretty` for multiline comments that start and end within a line of source code.

Fun fact: [the commit which added this assert](https://github.com/rust-lang/rust/commit/d12ea3989649616437a7c1434f5c5a6438235eb7) was from 2011!
https://github.com/rust-lang/rust/blob/d12ea3989649616437a7c1434f5c5a6438235eb7/src/comp/pretty/pprust.rs#L1146-L1150
Diffstat (limited to 'src/rustllvm/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions