mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
081cc5cc2d
Suggest using a standalone doctest for non-local impl defs This PR tweaks the lint output of the `non_local_definitions` lint to suggest using a standalone doctest instead of a moving the `impl` def to an impossible place as was already done with `macro_rules!` case in https://github.com/rust-lang/rust/pull/124568. Fixes #126339 r? ```@fmease``` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |