File tree 2 files changed +0
-14
lines changed
2 files changed +0
-14
lines changed Original file line number Diff line number Diff line change 17
17
//! Amplifying Rust language capabilities: multiple generic trait
18
18
//! implementations, type wrappers, derive macros.
19
19
20
- #![ recursion_limit = "256" ]
21
- #![ deny(
22
- non_upper_case_globals,
23
- non_camel_case_types,
24
- non_snake_case,
25
- unused_mut,
26
- unused_imports,
27
- missing_docs,
28
- dead_code
29
- ) ]
30
-
31
20
#[ macro_use]
32
21
extern crate quote;
33
22
#[ macro_use]
Original file line number Diff line number Diff line change @@ -113,7 +113,6 @@ enum WrapperMut {
113
113
114
114
pub trait FromPath : Sized + Copy + Ord {
115
115
const IDENT : & ' static str ;
116
- const DERIVE : & ' static str ;
117
116
const NO_REFS : Self ;
118
117
fn default_set ( ) -> Vec < Self > ;
119
118
fn is_not_ref ( & self ) -> bool ;
@@ -123,7 +122,6 @@ pub trait FromPath: Sized + Copy + Ord {
123
122
124
123
impl FromPath for Wrapper {
125
124
const IDENT : & ' static str = "wrapper" ;
126
- const DERIVE : & ' static str = "Wrapper" ;
127
125
const NO_REFS : Self = Self :: NoRefs ;
128
126
129
127
fn default_set ( ) -> Vec < Self > { vec ! [ Wrapper :: AsRef , Wrapper :: Borrow ] }
@@ -650,7 +648,6 @@ impl Wrapper {
650
648
651
649
impl FromPath for WrapperMut {
652
650
const IDENT : & ' static str = "wrapper_mut" ;
653
- const DERIVE : & ' static str = "WrapperMut" ;
654
651
const NO_REFS : Self = Self :: NoRefs ;
655
652
656
653
fn default_set ( ) -> Vec < Self > { vec ! [ WrapperMut :: AsMut , WrapperMut :: BorrowMut ] }
You can’t perform that action at this time.
0 commit comments