Allow newly uplifted invalid_from_utf8 lint

This commit is contained in:
Urgau 2023-05-13 21:49:58 +02:00
parent 7f99c7d3e6
commit b84c190b9a
2 changed files with 4 additions and 0 deletions

View File

@ -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};

View File

@ -11,6 +11,8 @@
#![feature(never_type)]
#![feature(panic_always_abort)]
#![allow(invalid_from_utf8)]
extern crate libc;
use std::alloc::{GlobalAlloc, Layout};