diff options
Diffstat (limited to 'library/alloc/tests/str.rs')
-rw-r--r-- | library/alloc/tests/str.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/alloc/tests/str.rs b/library/alloc/tests/str.rs index c1dbbde08..0ba5d088f 100644 --- a/library/alloc/tests/str.rs +++ b/library/alloc/tests/str.rs @@ -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}; |