Skip to content

Conversation

W95Psp
Copy link
Member

@W95Psp W95Psp commented Sep 8, 2025

This PR makes the printer emit diagnostics, catched by cargo hax and displayed properly:

  • the macro todo! will now emit those diagnostics
  • the default unimplemented methods will also emit such diagnostics
  • the printer itself can use emit_diagnostic to emit a contextualized and spanned diagnostic manually

@W95Psp W95Psp force-pushed the rengine-printer-diagnostics-todo branch 2 times, most recently from a052753 to 63d58db Compare September 8, 2025 14:49
@W95Psp W95Psp marked this pull request as ready for review September 8, 2025 14:50
@W95Psp W95Psp requested a review from a team as a code owner September 8, 2025 14:50
@W95Psp W95Psp requested review from karthikbhargavan, clementblaudeau, a team and keks and removed request for karthikbhargavan and a team September 8, 2025 14:50
Copy link
Member

@keks keks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks good, just a nit and an ask for clarificiation.

@W95Psp W95Psp force-pushed the rengine-printer-diagnostics-todo branch from 22dba12 to b658678 Compare September 18, 2025 11:27
@W95Psp W95Psp enabled auto-merge September 18, 2025 11:29
@W95Psp W95Psp added this pull request to the merge queue Sep 18, 2025
Merged via the queue into main with commit b7c7872 Sep 18, 2025
17 of 18 checks passed
@W95Psp W95Psp deleted the rengine-printer-diagnostics-todo branch September 18, 2025 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants