]> git.lizzy.rs Git - rust.git/commit
Deduplicate macro_rules! from module_exports when documenting them
authorLoïc BRANSTETT <loic.branstett@epitech.eu>
Wed, 13 Oct 2021 23:50:37 +0000 (01:50 +0200)
committerLoïc BRANSTETT <loic.branstett@epitech.eu>
Wed, 13 Oct 2021 23:51:35 +0000 (01:51 +0200)
commit15c876db9ce32922c331b9dab5e9dafc3d81387b
tree76af28d102d847a55c875102a12dad0a84755870
parenteeb16a2a892c2a29b1da3085e29f39efa3486e1c
Deduplicate macro_rules! from module_exports when documenting them

This can append if within the same module a `#[macro_export] macro_rules!`
is declared but also a reexport of itself producing two export of the same
macro in the same module. In that case we only want to document it once.
src/librustdoc/visit_ast.rs