You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The type_of query runs different code for local and foreign definitions. The ICE in the example is the one you'd see if the trait was defined in a different crate but it's the same issue in both cases
…ogiq
redundant_type_annotations: only pass certain def kinds to type_of
Fixes#11190Fixesrust-lang/rust#113516
Also adds an `is_lint_allowed` check to skip the lint when it's not needed
changelog: none
Summary
The error is reproducible on
rust-libp2p
. A link to the error is here: https://github.com/libp2p/rust-libp2p/actions/runs/5600000763/jobs/10241748470?pr=4217#step:6:989Version
Error output
Backtrace
The text was updated successfully, but these errors were encountered: