diff options
| author | bors <bors@rust-lang.org> | 2021-03-26 09:11:18 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-03-26 09:11:18 +0000 |
| commit | 4137088d9da94f693b287f35e2b17782c0b1a283 (patch) | |
| tree | 360ed146f262275cd00ee0074e5c07084a1b9632 /compiler/rustc_codegen_llvm/src | |
| parent | 13167029c2fa01e498f92b2f2ac1ce0b2b9f294a (diff) | |
| parent | 819247f179c0af011ea7219dc361209851eb487d (diff) | |
| download | rust-4137088d9da94f693b287f35e2b17782c0b1a283.tar.gz rust-4137088d9da94f693b287f35e2b17782c0b1a283.zip | |
Auto merge of #83079 - osa1:issue83046, r=m-ou-se
Update char::escape_debug_ext to handle different escapes in strings and chars
Fixes #83046
The program
fn main() {
println!("{:?}", '"');
println!("{:?}", "'");
}
would previously print
'\"'
"\'"
With this patch it now prints:
'"'
"'"
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
