Skip to content

Commit 86360f4

Browse files
committed
allow for_loop_over_fallibles in a core test
1 parent 41fccb1 commit 86360f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/core/tests/option.rs

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ fn test_get_resource() {
5757
}
5858

5959
#[test]
60+
#[cfg_attr(not(bootstrap), allow(for_loop_over_fallibles))]
6061
fn test_option_dance() {
6162
let x = Some(());
6263
let mut y = Some(5);

0 commit comments

Comments
 (0)