Designing the `#[diagnostic]` namespace

102 points weiznich

Over the past year I've worked based on a rust foundation community grant on designing the #[diagnostic] namespace, to enable crate developers to customize error messages emitted by rustc. I've summarized the relevant development in a blog post. I'm happy to answer any question.