mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
Add a Self: Sized
bound
This commit is contained in:
parent
c73ee9861b
commit
f403882927
@ -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…
Reference in New Issue
Block a user