mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-16 02:24:35 +00:00
9349441863
Removing RHS snippet from SHADOW_UNRELATED message. Fixes #5703 I am not sure if I reinvented the wheel here, but I could not really find a snippet function that did this truncation, so I created the function. Please tell me if there was a more obvious way to do this, I am new here. 😄 changelog: Truncates multi-line RHS in shadow_unrelated message if it has more than 5 lines. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |