Allow newly uplifted invalid_from_utf8 lint
This commit is contained in:
parent
7f99c7d3e6
commit
b84c190b9a
@ -1,3 +1,5 @@
|
|||||||
|
#![cfg_attr(not(bootstrap), allow(invalid_from_utf8))]
|
||||||
|
|
||||||
use std::assert_matches::assert_matches;
|
use std::assert_matches::assert_matches;
|
||||||
use std::borrow::Cow;
|
use std::borrow::Cow;
|
||||||
use std::cmp::Ordering::{Equal, Greater, Less};
|
use std::cmp::Ordering::{Equal, Greater, Less};
|
||||||
|
@ -11,6 +11,8 @@
|
|||||||
#![feature(never_type)]
|
#![feature(never_type)]
|
||||||
#![feature(panic_always_abort)]
|
#![feature(panic_always_abort)]
|
||||||
|
|
||||||
|
#![allow(invalid_from_utf8)]
|
||||||
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
|
|
||||||
use std::alloc::{GlobalAlloc, Layout};
|
use std::alloc::{GlobalAlloc, Layout};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user