mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 06:28:42 +00:00
Auto merge of #5231 - JohnTitor:associated-type-defaults, r=phansch
Rustup to rust-lang/rust#61812 changelog: none
This commit is contained in:
commit
384593cd16
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ pub trait D {
|
|||
}
|
||||
|
||||
/// dox
|
||||
pub trait E {
|
||||
pub trait E: Sized {
|
||||
type AssociatedType;
|
||||
type AssociatedTypeDef = Self;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue