]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/missing-doc-impl.rs
iterate List by value
[rust.git] / tests / ui / missing-doc-impl.rs
index 1317521f7366fb444a685180b45e669703605b56..57af84dcdf4d0905c9235821335a672980d214b4 100644 (file)
@@ -46,7 +46,7 @@ fn dummy(&self) {}
 }
 
 /// dox
-pub trait E {
+pub trait E: Sized {
     type AssociatedType;
     type AssociatedTypeDef = Self;