]> git.lizzy.rs Git - rust.git/commit
Revert parts of "use derive proc macro to impl SessionDiagnostic"
authorXiretza <xiretza@xiretza.xyz>
Thu, 1 Sep 2022 17:42:49 +0000 (19:42 +0200)
committerXiretza <xiretza@xiretza.xyz>
Thu, 1 Sep 2022 17:42:49 +0000 (19:42 +0200)
commit9df75ee254a2999fe0b7e4c3bddebef34b539891
tree1ebb089eb8747b82dea55b04ad3342dbf087bf5d
parentfb888117da6cb3bdae352bafbdb2dc8e2b78a271
Revert parts of "use derive proc macro to impl SessionDiagnostic"

This reverts parts of commit ac638c1f5fca36484506415319ab254ad522a692.

During rebase, this commit accidentally reverted unrelated changes to
the subdiagnostic derive (those allowing multipart_suggestions to be
derived). This commit reverts all changes to the subdiagnostic code made
in ac638c1f5fc, the next commit will reintroduce the actually intended
changes.
compiler/rustc_macros/src/diagnostics/subdiagnostic.rs
src/test/ui-fulldeps/session-diagnostic/subdiagnostic-derive.rs
src/test/ui-fulldeps/session-diagnostic/subdiagnostic-derive.stderr