dtolnay / dtolnay/indoc

feat: Add a `panicdoc` macro

Open Beginner friendly
#69 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
789
Forks
24
PR merge metrics
No merged PRs in 30d

Description

This would be useful for panicking with a multi-line message.

If you think this is a good idea, I can make the PR (it seems implementing this is pretty easy, because it works just like `printdoc`)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the existing `printdoc` macro and its tests, since the issue says `panicdoc` should work the same way. Add the analogous macro for panicking with a multi-line message, then run the relevant test suite and verify the new macro's output and panic behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.