allow for_loop_over_fallibles
in a core
test
This commit is contained in:
parent
0250f0244b
commit
75ae20a42f
@ -57,6 +57,7 @@ fn r(i: Rc<RefCell<isize>>) -> R {
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[cfg_attr(not(bootstrap), allow(for_loop_over_fallibles))]
|
||||
fn test_option_dance() {
|
||||
let x = Some(());
|
||||
let mut y = Some(5);
|
||||
|
Loading…
Reference in New Issue
Block a user