Uh oh!
There was an error while loading. Please reload this page.
Implement RFC 3184 - thread local cell methods - #92123
Conversation
rust-highfive
commented
Dec 20, 2021
(rust-highfive has picked a reviewer for you, use r? to override) |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
m-ou-se
commented
Dec 20, 2021
@danielhenrymantilla Thanks for the review! |
Uh oh!
There was an error while loading. Please reload this page.
m-ou-se
commented
Jan 5, 2022
This is bocked on an issue with the CI/test runner, where a large output from rustc gets trimmed and |
m-ou-se
commented
Feb 24, 2022
I filed an issue for it: #94322 Thanks for the reminder. |
50e6b83 to
363833bCompare…etrochenkov Avoid emitting full macro body into JSON errors While investigating rust-lang#94322, it was noted that currently the JSON diagnostics for macro backtraces include the full def_site span -- the whole macro body. It seems like this shouldn't be necessary, so this PR adjusts the span to just be the "guessed head", typically the macro name. It doesn't look like we keep enough information to synthesize a nicer span here at this time. Atop rust-lang#92123, this reduces output for the src/test/ui/suggestions/missing-lifetime-specifier.rs test from 660 KB to 156 KB locally.
…etrochenkov Avoid emitting full macro body into JSON errors While investigating rust-lang#94322, it was noted that currently the JSON diagnostics for macro backtraces include the full def_site span -- the whole macro body. It seems like this shouldn't be necessary, so this PR adjusts the span to just be the "guessed head", typically the macro name. It doesn't look like we keep enough information to synthesize a nicer span here at this time. Atop rust-lang#92123, this reduces output for the src/test/ui/suggestions/missing-lifetime-specifier.rs test from 660 KB to 156 KB locally.
…etrochenkov Avoid emitting full macro body into JSON errors While investigating rust-lang#94322, it was noted that currently the JSON diagnostics for macro backtraces include the full def_site span -- the whole macro body. It seems like this shouldn't be necessary, so this PR adjusts the span to just be the "guessed head", typically the macro name. It doesn't look like we keep enough information to synthesize a nicer span here at this time. Atop rust-lang#92123, this reduces output for the src/test/ui/suggestions/missing-lifetime-specifier.rs test from 660 KB to 156 KB locally.
bors
commented
Feb 27, 2022
☔ The latest upstream changes (presumably #94373) made this pull request unmergeable. Please resolve the merge conflicts. |
363833b to
41248d5Compare
This comment has been minimized.
This comment has been minimized.
41248d5 to
e602befComparem-ou-se
commented
Mar 2, 2022
@joshtriplett The CI issue has been fixed, so this is now ready for review. |
joshtriplett
commented
Mar 5, 2022
@bors r+ |
bors
commented
Mar 5, 2022
📌 Commit e602beff3293960273780440b63240be5568441c has been approved by |
e602bef to
a6e7f26Comparem-ou-se
commented
Mar 5, 2022
@bors r=joshtriplett |
bors
commented
Mar 5, 2022
📌 Commit a6e7f26 has been approved by |
bors
commented
Mar 5, 2022
⌛ Testing commit a6e7f26 with merge 35d2d53a0ecf89712d3378790151a186fe4f6379... |
rust-log-analyzer
commented
Mar 5, 2022
The job Click to see the possible cause of the failure (guessed by this bot) |
bors
commented
Mar 5, 2022
💔 Test failed - checks-actions |
m-ou-se
commented
Mar 5, 2022
@bors retry |
bors
commented
Mar 5, 2022
bors
commented
Mar 5, 2022
☀️ Test successful - checks-actions |
rust-timer
commented
Mar 5, 2022
Finished benchmarking commit (ab2bd41): comparison url. Summary: This benchmark run did not return any relevant results. 37 results were found to be statistically significant but too small to be relevant. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression |
This implements RFC 3184, with @danielhenrymantilla's suggestion for the
with_method names.Tracking issue: #92122