commit | c2339048a82c55166f9b9ee83fd618be252a6e23 | [log] [tgz] |
---|---|---|
author | bors <bors@rust-lang.org> | Sun Aug 24 19:46:17 2025 +0000 |
committer | bors <bors@rust-lang.org> | Sun Aug 24 19:46:17 2025 +0000 |
tree | 0b30a82e3a5bb14c72535ece70f5c045981a5669 | |
parent | 98519fde4ca3cd2b365a8216431681777d9e0408 [diff] | |
parent | 4650f34861c484d2740d08574abe5ed49fb5b940 [diff] |
Auto merge of #137229 - GuillaumeGomez:expand-macro, r=lolbinarycat Add support for macro expansion in rustdoc source code pages This is what it looks like:   You can test it [here](https://rustdoc.crud.net/imperio/macro-expansion/src/lib/lib.rs.html). In this case, I also enabled the `--generate-link-to-definition` to show that both options work well together. Note: <del>There is a bug currently in firefox where the line numbers are not displayed correctly if they're inside the "macro expansion" span: https://bugzilla.mozilla.org/show_bug.cgi?id=1949948<del> Found a workaround around this bug. r? `@notriddle`