lint generic type argument of a generic type that could be : ?Sized
#1368
Labels
A-lint
Area: New lints
E-hard
Call for participation: This a hard problem and requires more experience or effort to work on
L-correctness
Lint: Belongs in the correctness lint group
L-unnecessary
Lint: Warn about unnecessary code
T-middle
Type: Probably requires verifiying types
should lint that one should write
T: Trait + ?Sized
.Motivation: http://stackoverflow.com/questions/40846232/rust-compiler-does-not-see-structure-as-sized
To reduce false positives, this should only lint if the
impl X for A
andimpl A
, will continue working if they are also changed.The text was updated successfully, but these errors were encountered: