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:
commit
58359b2d2d
@ -64,4 +64,8 @@ trait T {
|
||||
// lint
|
||||
fn from_be_self(self) -> Self;
|
||||
}
|
||||
|
||||
trait Foo: Sized {
|
||||
fn as_byte_slice(slice: &[Self]) -> &[u8];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user