Add sized trait for wrong_self_convention lint test

This commit is contained in:
ThibsG 2021-05-13 23:28:40 +02:00
parent 10db5a6064
commit 18c702955b

View File

@ -64,4 +64,8 @@ mod issue7179 {
// lint
fn from_be_self(self) -> Self;
}
trait Foo: Sized {
fn as_byte_slice(slice: &[Self]) -> &[u8];
}
}