relaxed ?Sized
bound getting implied by super trait warn
#140962
Labels
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
A-type-system
Area: Type system
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
the following code should lint that the
?Sized
bound is unused:'we imply
Sized
as it's a super trait ofClone
, so the?Sized
bound does not do anything.cc @davidtwco, related to
sized_hierarchy
migration stuffThe text was updated successfully, but these errors were encountered: