Uh oh!
There was an error while loading. Please reload this page.
Kind-less SessionDiagnostic derive - #100765
Conversation
rust-highfive
commented
Aug 19, 2022
(rust-highfive has picked a reviewer for you, use r? to override) |
rustbot
commented
Aug 19, 2022
|
b868bb8 to
9eec2c4Compare4e04b57 to
450989fComparecompiler-errors
commented
Aug 19, 2022
compiler-errors
commented
Aug 19, 2022
This is exactly what I wanted to see! 😄 I'll wait until CI is ready and then approve. |
compiler-errors
commented
Aug 19, 2022
Also, we probably need to adjust the rustc dev guide docs once again. |
Xiretza
commented
Aug 19, 2022
That's good to hear! :D The PR will conflict with all the diagnostics migration PRs currently open, so I suppose it will need a rollup=never with a relatively high priority or it'll fail bors until the end of time. |
Xiretza
commented
Aug 19, 2022
Already drafted: rust-lang/rustc-dev-guide#1440 |
compiler-errors
commented
Aug 19, 2022
Yup makes sense. I was gonna wait until CI is green then approve.
You're wonderful! |
compiler-errors
commented
Aug 19, 2022
@bors r+ p=1 rollup=never (will likely not merge unless p=1) |
bors
commented
Aug 19, 2022
📌 Commit 450989f9ede869f8e432f9c1f64d3d055bfa041a has been approved by It is now in the queue for this repository. |
bors
commented
Aug 19, 2022
⌛ Testing commit 450989f9ede869f8e432f9c1f64d3d055bfa041a with merge 8175a9f41cc3944935dcc70a5eb751ffc371d3a9... |
CI has stalled. EDIT: Sorry for the noise. The CI was still going after 5hrs without movement from a Windows builder for at least 3hrs. |
This comment was marked as resolved.
This comment was marked as resolved.
compiler-errors
commented
Aug 21, 2022
Wait... this needs rebase. @bors r- |
This unifies the struct_{warn,error,fatal}() methods in one generic
method.Deriving SessionDiagnostic on a type no longer forces that diagnostic to be one of warning, error, or fatal. The level is instead decided when the struct is passed to the respective Handler::emit_*() method.
dc8d944 to
7f3a6fdComparecompiler-errors
commented
Aug 21, 2022
@bors r+ |
bors
commented
Aug 21, 2022
bors
commented
Aug 21, 2022
bors
commented
Aug 21, 2022
☀️ Test successful - checks-actions |
rust-timer
commented
Aug 21, 2022
Finished benchmarking commit (4b695f7): comparison url. Instruction count
Max RSS (memory usage)Results
CyclesThis benchmark run did not return any relevant results for this metric. If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression Footnotes |
davidtwco
commented
Aug 22, 2022
Thanks for working on this! |
From #100730 (comment):
Discussed on Zulip.