Lint bare_trait_objects
doesn't warn on traits used as types in paths
#65371
Labels
A-edition-2018-lints
Area: Lints supporting the 2018 edition
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Example:
According to the logic of the lint there should be a suggestion to rewrite
Tr::method
as<dyn Tr>::method
.The text was updated successfully, but these errors were encountered: