about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/const_eval/mod.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-25 12:04:34 +0000
committerbors <bors@rust-lang.org>2023-07-25 12:04:34 +0000
commit23405bb123681399c912552fa1c09264c0d4930d (patch)
tree4f25e85fd8fb84a0e084ceadc268d8bcd80cd52c /compiler/rustc_const_eval/src/const_eval/mod.rs
parentff8fe76c0e36b65c038a080a8a8341024104d117 (diff)
parenta0376e9ec2af2d996b828f6a6153c7f53b100b0b (diff)
downloadrust-23405bb123681399c912552fa1c09264c0d4930d.tar.gz
rust-23405bb123681399c912552fa1c09264c0d4930d.zip
Auto merge of #113476 - fee1-dead-contrib:c-str-lit, r=petrochenkov
Reimplement C-str literals

This reverts #113334, cc `@fmease.`

While converting lexer tokens to ast Tokens in `rustc_parse`, we check the edition of the span of the token. If the edition < 2021, we split the token into two, one being the identifier and other being the str literal.
Diffstat (limited to 'compiler/rustc_const_eval/src/const_eval/mod.rs')
0 files changed, 0 insertions, 0 deletions