-
Notifications
You must be signed in to change notification settings - Fork 2
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
Handle clippy lints in breaking change #10
Comments
|
which links to
I see how For |
I don't really get what the issue is here. Could you please open a separate issue for this, with an example of code that causes the issue with clippy? |
The issue is the same as rust-lang/rust-clippy#5812 When I tried holding a # https://github.com/ruma/ruma/blob/main/.clippy.toml
ignore-interior-mutability = ["mownstr::MownStr"] I imagine others that use The only reason |
Perhaps |
I tried to put this in a test (with a HashMap rather than a BTreeMap, but I imagine the problem should be the same), and I didn't get any clippy warning... Are you using specific clippy options to encounter the problem? Can you maybe make a PR that exhibits the issue? For such cases (checking that something compiles and does not raise linter warnings), I create a function in the test module, not annotated as |
done in f9b8667 |
This was my fault, it seems that this issue only came up in #7 |
Once #11 is reviewed, this can be closed. |
PartialOrd
warning: https://github.com/pchampin/mownstr/pull/7/files#r1700986647The text was updated successfully, but these errors were encountered: