libcore: remove unneeded allow(deprecated)

This commit is contained in:
Ralf Jung 2018-12-20 22:49:32 +01:00
parent cc4d1e5bb0
commit c775c2fe96
3 changed files with 2 additions and 4 deletions

View file

@ -2048,7 +2048,7 @@ macro_rules! tuple {
( $($name:ident,)+ ) => (
#[stable(feature = "rust1", since = "1.0.0")]
impl<$($name:Debug),*> Debug for ($($name,)*) where last_type!($($name,)+): ?Sized {
#[allow(non_snake_case, unused_assignments, deprecated)]
#[allow(non_snake_case, unused_assignments)]
fn fmt(&self, f: &mut Formatter) -> Result {
let mut builder = f.debug_tuple("");
let ($(ref $name,)*) = *self;

View file

@ -1,7 +1,5 @@
//! Integer and floating-point number formatting
#![allow(deprecated)]
use fmt;
use ops::{Div, Rem, Sub};

View file

@ -1,6 +1,6 @@
//! An implementation of SipHash.
#![allow(deprecated)]
#![allow(deprecated)] // the types in this module are deprecated
use marker::PhantomData;
use ptr;