mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
Add a Self: Sized
bound
This commit is contained in:
parent
c73ee9861b
commit
f403882927
@ -60,7 +60,7 @@ pub trait D {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// dox
|
/// dox
|
||||||
pub trait E {
|
pub trait E: Sized {
|
||||||
type AssociatedType; //~ ERROR: missing documentation for an associated type
|
type AssociatedType; //~ ERROR: missing documentation for an associated type
|
||||||
type AssociatedTypeDef = Self; //~ ERROR: missing documentation for an associated type
|
type AssociatedTypeDef = Self; //~ ERROR: missing documentation for an associated type
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user