Uh oh!
There was an error while loading. Please reload this page.
Properly print cstr literals in proc_macro::Literal::to_string - #116124
Conversation
rustbot
commented
Sep 24, 2023
r? @b-naber (rustbot has picked a reviewer for you, use r? to override) |
proc_macro::Literal::to_stringproc_macro::Literal::to_stringcompiler-errors
commented
Sep 24, 2023
r? @compiler-errors@bors r+ Thanks @WaffleLapkin |
bors
commented
Sep 24, 2023
compiler-errors
commented
Sep 24, 2023
cc @rust-lang/wg-macros since y'all mentioned wanting to be in the loop for libprocmacro-related changes, at least until there is auto-ping group for the WG. |
| let hashes = get_hashes_str(n); | ||
| f(&["br", hashes, "\"", symbol, "\"", hashes, suffix]) | ||
| } | ||
| _ => f(&[symbol, suffix]), |
There was a problem hiding this comment.
making macros exhaustively match ❤️
bors
commented
Sep 25, 2023
…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"`). Fixesrust-lang#112820 cc rust-lang#105723
bors
commented
Sep 25, 2023
💔 Test failed - checks-actions |
rust-log-analyzer
commented
Sep 25, 2023
The job Click to see the possible cause of the failure (guessed by this bot) |
vincenzopalazzo
left a comment
There was a problem hiding this comment.
Do you have any idea why the CI is failing with thread 'main' has overflowed its stack?
Uh oh!
There was an error while loading. Please reload this page.
compiler-errors
commented
Sep 25, 2023
Rustdoc overflowed on an unrelated test ( @bors retry |
bors
commented
Sep 25, 2023
…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"`). Fixesrust-lang#112820 cc rust-lang#105723
bors
commented
Sep 25, 2023
💔 Test failed - checks-actions |
compiler-errors
commented
Sep 25, 2023
@bors treeclosed=100 some bug with |
compiler-errors
commented
Sep 25, 2023
@bors retry |
rust-log-analyzer
commented
Sep 25, 2023
A job failed! Check out the build log: (web)(plain) Click to see the possible cause of the failure (guessed by this bot) |
compiler-errors
commented
Sep 25, 2023
@bors treeclosed- |
WaffleLapkin
commented
Sep 25, 2023
@compiler-errors does this need a rebase after #116147 or just @bors retry should be enough? |
compiler-errors
commented
Sep 25, 2023
We're good @bors retry |
bors
commented
Sep 26, 2023
bors
commented
Sep 26, 2023
☀️ Test successful - checks-actions |
rust-timer
commented
Sep 26, 2023
Finished benchmarking commit (a6dce3b): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)This benchmark run did not return any relevant results for this metric. CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 630.902s -> 630.463s (-0.07%) |
Previously we printed the contents of the string, rather than the actual string literal (e.g.
the c stringinstead ofc"the c string").Fixes#112820
cc #105723