about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-03-26 09:11:18 +0000
committerbors <bors@rust-lang.org>2021-03-26 09:11:18 +0000
commit4137088d9da94f693b287f35e2b17782c0b1a283 (patch)
tree360ed146f262275cd00ee0074e5c07084a1b9632 /compiler/rustc_codegen_llvm/src
parent13167029c2fa01e498f92b2f2ac1ce0b2b9f294a (diff)
parent819247f179c0af011ea7219dc361209851eb487d (diff)
downloadrust-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