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
1 changed files with 4 additions and 0 deletions
|
|
@ -64,4 +64,8 @@ mod issue7179 {
|
|||
// lint
|
||||
fn from_be_self(self) -> Self;
|
||||
}
|
||||
|
||||
trait Foo: Sized {
|
||||
fn as_byte_slice(slice: &[Self]) -> &[u8];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue