Skip to content

Commit

Permalink
Merge pull request #45 from rust-amplify/fuckit
Browse files Browse the repository at this point in the history
React on the bullshit in rustc v1.80
  • Loading branch information
dr-orlovsky authored Aug 1, 2024
2 parents febd060 + 398d3fc commit fc93e31
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
11 changes: 0 additions & 11 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,6 @@
//! Amplifying Rust language capabilities: multiple generic trait
//! implementations, type wrappers, derive macros.

#![recursion_limit = "256"]
#![deny(
non_upper_case_globals,
non_camel_case_types,
non_snake_case,
unused_mut,
unused_imports,
missing_docs,
dead_code
)]

#[macro_use]
extern crate quote;
#[macro_use]
Expand Down
3 changes: 0 additions & 3 deletions src/wrapper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ enum WrapperMut {

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

impl FromPath for Wrapper {
const IDENT: &'static str = "wrapper";
const DERIVE: &'static str = "Wrapper";
const NO_REFS: Self = Self::NoRefs;

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

impl FromPath for WrapperMut {
const IDENT: &'static str = "wrapper_mut";
const DERIVE: &'static str = "WrapperMut";
const NO_REFS: Self = Self::NoRefs;

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

0 comments on commit fc93e31

Please sign in to comment.