mirror of
https://github.com/NLnetLabs/domain.git
synced 2026-09-30 05:34:54 +02:00
[macros] Remove type defaults from impl block generics
Caught while defining 'ZoneMD'.
This commit is contained in:
committed by
arya dradjica
parent
1c096351a3
commit
75624dc486
+6
-1
@@ -57,7 +57,12 @@ impl ImplSkeleton {
|
||||
}
|
||||
|
||||
GenericParam::Type(value) => {
|
||||
types.push(value.clone());
|
||||
types.push(TypeParam {
|
||||
// Defaults are not allowed in 'impl' blocks.
|
||||
eq_token: None,
|
||||
default: None,
|
||||
..value.clone()
|
||||
});
|
||||
let id = value.ident.clone();
|
||||
let id = syn::TypePath {
|
||||
qself: None,
|
||||
|
||||
Reference in New Issue
Block a user