Allow clippy::use_self

This commit is contained in:
Jonas Platte 2019-10-29 11:02:25 +01:00
parent 83bb889b64
commit 7e7041fbef
2 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,8 @@
clippy::wrong_self_convention clippy::wrong_self_convention
)] )]
#![allow(clippy::cognitive_complexity)] #![allow(clippy::cognitive_complexity)]
// Since we support Rust 1.34.2, we can't apply this suggestion yet
#![allow(clippy::use_self)]
#![recursion_limit = "256"] #![recursion_limit = "256"]
extern crate proc_macro; extern crate proc_macro;

View File

@ -34,6 +34,8 @@
clippy::wrong_pub_self_convention, clippy::wrong_pub_self_convention,
clippy::wrong_self_convention clippy::wrong_self_convention
)] )]
// Since we support Rust 1.34.2, we can't apply this suggestion yet
#![allow(clippy::use_self)]
use std::{ use std::{
convert::{TryFrom, TryInto}, convert::{TryFrom, TryInto},