Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI Check #1

Closed
wants to merge 13 commits into from
Closed

CI Check #1

wants to merge 13 commits into from

Conversation

xFrednet
Copy link
Owner

No description provided.

@xFrednet xFrednet force-pushed the 00000-lintcheck-crates branch 4 times, most recently from ddfea5f to a0fd315 Compare July 18, 2024 09:19
bors and others added 5 commits July 18, 2024 11:56
…r=y21

Lint `zero_repeat_side_effects`  only if array length is a literal zero

changelog: [`zero_repeat_side_effects` ] Lint only if array length is a literal zero
Fixes rust-lang#13110 .
r? y21
…p-suggestion, r=Alexendoo

Fix wrong suggestion for `single_element_loop` where parens were missing

Fixes rust-lang#12782.

changelog: Fix missing parens in `single_element_loop` suggestion
…nks, r=Alexendoo

Lintcheck: Add URL to lint emission place in diff

This PR adds links to the emission code in our lintcheck CI. When reviewing changes, I would like to be able to see the bigger context, which isn't always included in the lint message. This PR adds a nice link to the lintcheck diff that allows for simple investigation of the code in question.

At first, I wanted to simply use the doc.rs links and call it a day, but then I figured out that some crates might have their source files remapped. Cargo was the crate that made me notice this. As a response, I made the link configurable. (See rust-lang/docs.rs#2551 for a detailed explanation and possible solution to remove this workaround in the future.)

It's probably easiest to review the individual commits. The last one is just a dummy to showcase the change.

[:framed_picture: rendered :framed_picture:](https://github.com/rust-lang/rust-clippy/actions/runs/9960834924?pr=13104)

---

r? `@Alexendoo`

changelog: none

---

That's it, I hope that everyone who's reading this has a beautiful day :D
@xFrednet xFrednet force-pushed the 00000-lintcheck-crates branch 2 times, most recently from 45badc3 to 5a51bf0 Compare July 18, 2024 14:33
@xFrednet xFrednet force-pushed the 00000-lintcheck-crates branch from 5a51bf0 to 796ade6 Compare July 18, 2024 14:41
@xFrednet xFrednet closed this Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants