Add derive for core::marker::ConstParamTy

This makes it easier to implement it for a type, just like `Copy`.
This commit is contained in:
Nilstrieb 2023-05-16 19:40:02 +02:00
parent cba14074bb
commit 0336dd132b
11 changed files with 115 additions and 2 deletions

View file

@ -115,6 +115,7 @@ pub fn register_builtin_macros(resolver: &mut dyn ResolverExpand) {
register_derive! {
Clone: clone::expand_deriving_clone,
Copy: bounds::expand_deriving_copy,
ConstParamTy: bounds::expand_deriving_const_param_ty,
Debug: debug::expand_deriving_debug,
Default: default::expand_deriving_default,
Eq: eq::expand_deriving_eq,