Auto merge of #7222 - ThibsG:WrongSelfTest, r=Manishearth

Add sized trait for `wrong_self_convention` lint test

This has been solved a few hours ago by #7215 😉

Fixes: #7219

changelog: none
This commit is contained in:
bors 2021-05-13 23:01:22 +00:00
commit 58359b2d2d

View File

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