mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-22 04:50:36 +00:00

- Use `register_renamed` when rustdoc is running so the lint will still be active and use a structured suggestion - Test the behavior for rustc, not just for rustdoc (because it differs)