Add a Self: Sized bound

This commit is contained in:
Jonas Schievink 2019-06-15 19:07:56 +02:00
parent c73ee9861b
commit f403882927

View File

@ -60,7 +60,7 @@ pub trait D {
}
/// dox
pub trait E {
pub trait E: Sized {
type AssociatedType; //~ ERROR: missing documentation for an associated type
type AssociatedTypeDef = Self; //~ ERROR: missing documentation for an associated type