Skip to content

Commit fc93e31

Browse files
authored
Merge pull request #45 from rust-amplify/fuckit
React on the bullshit in rustc v1.80
2 parents febd060 + 398d3fc commit fc93e31

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

src/lib.rs

-11
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,6 @@
1717
//! Amplifying Rust language capabilities: multiple generic trait
1818
//! implementations, type wrappers, derive macros.
1919
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-
3120
#[macro_use]
3221
extern crate quote;
3322
#[macro_use]

src/wrapper.rs

-3
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ enum WrapperMut {
113113

114114
pub trait FromPath: Sized + Copy + Ord {
115115
const IDENT: &'static str;
116-
const DERIVE: &'static str;
117116
const NO_REFS: Self;
118117
fn default_set() -> Vec<Self>;
119118
fn is_not_ref(&self) -> bool;
@@ -123,7 +122,6 @@ pub trait FromPath: Sized + Copy + Ord {
123122

124123
impl FromPath for Wrapper {
125124
const IDENT: &'static str = "wrapper";
126-
const DERIVE: &'static str = "Wrapper";
127125
const NO_REFS: Self = Self::NoRefs;
128126

129127
fn default_set() -> Vec<Self> { vec![Wrapper::AsRef, Wrapper::Borrow] }
@@ -650,7 +648,6 @@ impl Wrapper {
650648

651649
impl FromPath for WrapperMut {
652650
const IDENT: &'static str = "wrapper_mut";
653-
const DERIVE: &'static str = "WrapperMut";
654651
const NO_REFS: Self = Self::NoRefs;
655652

656653
fn default_set() -> Vec<Self> { vec![WrapperMut::AsMut, WrapperMut::BorrowMut] }

0 commit comments

Comments
 (0)