rust/tests/ui/proc-macro/auxiliary
bors a6dce3bac5 Auto merge of #116124 - WaffleLapkin:fix-proc-macro-literal-to-string, r=compiler-errors
Properly print cstr literals in `proc_macro::Literal::to_string`

Previously we printed the contents of the string, rather than the actual string literal (e.g. `the c string` instead of `c"the c string"`).

Fixes #112820
cc #105723
2023-09-26 03:39:25 +00:00
..
api implement Literal::byte_character 2023-09-23 23:29:47 +02:00
add-impl.rs
amputate-span.rs
append-impl.rs
assert-span-pos.rs
attr-args.rs
attr-cfg.rs
attr-on-trait.rs
attr-stmt-expr-rpass.rs
attr-stmt-expr.rs
attribute-spans-preserved.rs
attributes-included.rs
attributes-on-definitions.rs
bang_proc_macro2.rs
bang-macro.rs
builtin-attrs.rs
call-deprecated.rs
call-site.rs
cond_plugin.rs
count_compound_ops.rs
custom-attr-only-one-derive.rs
custom-quote.rs
derive-a.rs
derive-atob.rs
derive-attr-cfg.rs
derive-b-rpass.rs
derive-b.rs
derive-bad.rs
derive-clona.rs
derive-ctod.rs
derive-foo.rs
derive-helper-shadowed-2.rs
derive-helper-shadowing-2.rs
derive-helper-shadowing.rs
derive-nothing.rs
derive-same-struct.rs
derive-two-attrs.rs
derive-union.rs
derive-unstable-2.rs
derive-unstable.rs
dollar-crate-external.rs
double.rs
duplicate.rs
edition-imports-2015.rs
empty-crate.rs
expand-expr.rs
expand-with-a-macro.rs
exports_no_mangle.rs fix proc-macro test added here to solely be exercised as a build product for the host. 2023-08-08 11:40:35 -04:00
external-crate-var.rs
first-second.rs
gen-lifetime-token.rs
gen-macro-rules-hygiene.rs
gen-macro-rules.rs
generate-dollar-ident.rs
generate-mod.rs
hygiene_example_codegen.rs
hygiene_example.rs
included-file.txt
invalid-punct-ident.rs
is-available.rs
issue-38586.rs
issue-39889.rs
issue-42708.rs
issue-50061.rs
issue-50493.rs
issue-59191.rs
issue-66286.rs
issue-75801.rs
issue-79242.rs
issue-79825.rs
issue-83510.rs
issue-91800-macro.rs
issue-104884.rs
issue-107113.rs Fix #107113, avoid suggest for macro attributes 2023-08-02 14:54:37 +08:00
lifetimes-rpass.rs
lifetimes.rs
macro-only-syntax.rs
make-macro.rs
meta-delim.rs
meta-macro.rs
mixed-site-span.rs
modify-ast.rs
multiple-derives.rs
multispan.rs
negative-token.rs
nested-macro-rules.rs
nonterminal-recollect-attr.rs
not-joint.rs
parent-source-spans.rs
print-tokens.rs Add a test for printing literals via proc-macro 2023-09-24 20:24:33 +00:00
proc-macro-panic.rs
raw-ident.rs
re-export.rs
recollect.rs
resolved-located-at.rs
span-api-tests.rs
span-from-proc-macro.rs
span-test-macros.rs
subspan.rs
test-macros.rs
three-equals.rs
weird-hygiene.rs