-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
"trait_method_missing: pub trait method removed or renamed" but the method is there since 2020 #536
Comments
Thanks for opening this. It does seem suspicious. If you have a second, could you re-run this with |
Yep, definitely. I attach the log of running |
Excellent, thank you. Based on the log, I think this is a bug -- sorry
about that.
We already have dozens of test cases related to import and name resolution,
and I have a feeling we're about to have a few more 😅
…On Tue, Sep 12, 2023, 3:07 AM Wiktor Kwapisiewicz ***@***.***> wrote:
If you have a second, could you re-run this with --verbose --verbose added
to the invocation and post the log? That will help us distinguish between
"the error message is bad but the lint is correct" and "the lint is
incorrectly flagging this."
Yep, definitely. I attach the log
<https://github.com/obi1kenobi/cargo-semver-checks/files/12583390/checks.txt>
of running cargo semver-checks --default-features --verbose --verbose.
(it has 34 KiB so I don't want to paste it verbatim here).
—
Reply to this email directly, view it on GitHub
<#536 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAR5MSTTZUGW763ZOINUCJ3X2AC2RANCNFSM6AAAAAA4S7UR4U>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Steps to reproduce the bug with the above code
Hi,
I've got slight problems running
cargo-semver-checks
on a bigger crate and was advised to file an issue here.Steps to reproduce:
Actual Behaviour
The report shows a lot of issues while it's not clear what exactly is wrong:
error log
Expected Behaviour
I think it should clearly describe why it's failing. Let's take one example:
But the method is there: https://docs.rs/sequoia-openpgp/latest/sequoia_openpgp/cert/amalgamation/trait.ValidAmalgamation.html#method.map and git blame shows it's been the same since 2020-04-11 22:52:18 +0200.
Generated System Information
Software version
cargo-semver-checks 0.23.0
Operating system
Linux 6.4.12-arch1-1
Command-line
cargo version
Compile time information
Build Configuration
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: