allow `for_loop_over_fallibles` in a `core` test

This commit is contained in:
Maybe Waffle 2022-07-26 16:19:58 +04:00
parent 0250f0244b
commit 75ae20a42f
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ fn test_get_resource() {
}
#[test]
#[cfg_attr(not(bootstrap), allow(for_loop_over_fallibles))]
fn test_option_dance() {
let x = Some(());
let mut y = Some(5);