1
Fork 0
rust/compiler/rustc_parse/src
Guillaume Gomez ed81e347f1
Rollup merge of #139367 - GuillaumeGomez:proc-macro-values, r=Urgau
Add `*_value` methods to proc_macro lib

This is the (re-)implementation of https://github.com/rust-lang/libs-team/issues/459.

It allows to get the actual value (unescaped) of the different string literals.

It was originally done in https://github.com/rust-lang/rust/pull/136355 but it broke the artifacts build so we decided to move the crate to crates.io to go around this limitation.

Part of https://github.com/rust-lang/rust/issues/136652.

Considering this is a copy-paste of the originally approved PR, no need to go through the whole process again. \o/

r? `@Urgau`
2025-04-06 18:08:10 +02:00
..
lexer Replace rustc_lexer/unescape with rustc-literal-escaper crate 2025-04-04 14:44:45 +02:00
parser Rollup merge of #139367 - GuillaumeGomez:proc-macro-values, r=Urgau 2025-04-06 18:08:10 +02:00
errors.rs Remove NtExpr and NtLiteral. 2025-04-02 06:20:35 +11:00
lib.rs Auto merge of #138414 - matthiaskrgr:rollup-9ablqdb, r=matthiaskrgr 2025-03-12 17:27:43 +00:00
validate_attr.rs expand: Leave traces when expanding cfg attributes 2025-03-26 15:30:12 +03:00