mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 19:28:29 +00:00

it is non-trivial to reproduce this bug through rustdoc, which uses this function less than clippy, so the regression test was added as a unit test instead of an integration test.