-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
ICE in GeneratorSubsts / clippy #5207
Comments
Interesting backtrace parts:
|
Does not happen on nightly-2020-01-27, so might be caused by one of my PRs |
Does not happen on nightly-2020-02-17, so that confirms #5181 as the most likely candidate |
Yes, this happens, because of the rust-clippy/clippy_lints/src/doc.rs Line 238 in 8daeee5
|
I think this issue should be moved to the Clippy repo. |
😮 so sorry about that! |
MRE: pub async fn bar<'a, T: 'a>(_: T) {}
|
It panics because of the lifetime bind of the generic param. |
Show the backtrace
Absolutely no idea how to make MRE, the code is quite big and generic. This occurred when trying to cargo clippy https://github.com/teloxide/teloxide/tree/dev on the latest nightly.
The text was updated successfully, but these errors were encountered: