mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
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::borrow::Cow;
|
||||
use std::cmp::Ordering::{Equal, Greater, Less};
|
||||
|
@ -11,6 +11,8 @@
|
||||
#![feature(never_type)]
|
||||
#![feature(panic_always_abort)]
|
||||
|
||||
#![allow(invalid_from_utf8)]
|
||||
|
||||
extern crate libc;
|
||||
|
||||
use std::alloc::{GlobalAlloc, Layout};
|
||||
|
Loading…
Reference in New Issue
Block a user