Skip to content

Commit d38bebb

Browse files
committed
Allow newly uplifted invalid_from_utf8 lint
1 parent 27cfafe commit d38bebb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

alloc/tests/str.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![cfg_attr(not(bootstrap), allow(invalid_from_utf8))]
2+
13
use std::assert_matches::assert_matches;
24
use std::borrow::Cow;
35
use std::cmp::Ordering::{Equal, Greater, Less};

0 commit comments

Comments
 (0)