Repository navigation
Conversation
|
The rustc-dev-guide subtree was changed. If your future PRs only touch the subtree, consider submitting them directly to rust-lang/rustc-dev-guide, which is where the document is primarily maintained (and has faster CI). Some changes occurred in compiler/rustc_attr_ir |
|
r? @TaKO8Ki rustbot has assigned @TaKO8Ki. Use Why was this reviewer chosen?The reviewer was selected based on:
|
This comment has been minimized.
This comment has been minimized.
05c9dc2 to
c55c824
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
This comment has been minimized.
This comment has been minimized.
| /// [#160045]:https://github.com/rust-lang/rust/issues/160045 "`iter::Rev`'s `TrustedLen` impl is unsound with trait objects" | ||
| const _: () = (); | ||
|
|
||
| #[doc(attribute = "rustc_on_unimplemented")] |
There was a problem hiding this comment.
like how we document keywords and builtins, this is what makes the docs show up like that
|
r? me |
rustc_on_unimplemented is diagnostic::on_unimplemented, but more, the diagnostic attr only has message/label/note and only some of the formatting options |
c55c824 to
ea97485
Compare
Moves/improves
rustc_on_unimplemented's docs from the dev guide to the compiler, then in the dev guide adds links to it and other relevant diagnostic/lint attributesRendered: