Add a Self: Sized bound
This commit is contained in:
parent
c73ee9861b
commit
f403882927
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue