Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React on the bullshit in rustc v1.80 #45

Merged
merged 2 commits into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading