mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
Add sized trait for wrong_self_convention
lint test
This commit is contained in:
parent
10db5a6064
commit
18c702955b
@ -64,4 +64,8 @@ mod issue7179 {
|
||||
// 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