Skip to content

Commit

Permalink
allow for_loop_over_fallibles in a core test
Browse files Browse the repository at this point in the history
  • Loading branch information
WaffleLapkin committed Aug 14, 2022
1 parent 41fccb1 commit 86360f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/core/tests/option.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 86360f4

Please sign in to comment.