We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 10db5a6 + 18c7029 commit 58359b2Copy full SHA for 58359b2
tests/ui/wrong_self_convention2.rs
@@ -64,4 +64,8 @@ mod issue7179 {
64
// lint
65
fn from_be_self(self) -> Self;
66
}
67
+
68
+ trait Foo: Sized {
69
+ fn as_byte_slice(slice: &[Self]) -> &[u8];
70
+ }
71
0 commit comments