Add derive for core::marker::ConstParamTy
This makes it easier to implement it for a type, just like `Copy`.
This commit is contained in:
parent
cba14074bb
commit
0336dd132b
11 changed files with 115 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue