Fixed match same arms vertical tab#16844
Fixed match same arms vertical tab#16844shashu8660 wants to merge 3 commits intorust-lang:masterfrom
Conversation
|
r? @Jarcho rustbot has assigned @Jarcho. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
@teor2345 |
|
Lintcheck changes for b208bb5
This comment will be updated if you push new changes |
|
Hi, You have repeatedly used LLMs to generate your outreachy work, even though it was explicitly stated that they are only tone used as learning tools. Directly generating the answers (even with a human in the loop) is against the spirit of how we run our outreachy program. We are a community of contributors, not just a code repository. Thus we focus on contributors who desire to learn to produce high quality contributions. We are thus banning you as per our policies (1) and contribution standards (2). You can contact the moderation team to discuss and possibly reconsider your ban. Thanks for understanding Oli in the name of the mod team and the outreachy mentors |
changelog:[match_same_arms.rs] : considering all the rust whitespace including vertical tab .
This change ensures that span extension considers all Rust whitespace,including vertical tab (\x0B), instead of only ASCII whitespace.
Previously, spans could stop early when non-ASCII whitespace was present,leading to incorrect highlighting in diagnostics.
from the issue :rustfoundation/interop-initiative#53
i have worked on [short span in same match arms]:(https://github.com/rust-lang/rust/blob/e0e95a71872dfe9e15d22bddea9ac45c85ddda1a/src/tools/clippy/clippy_lints/src/matches/match_same_arms.rs#L180)