mirror of https://github.com/rust-lang/rust.git
allow `for_loop_over_fallibles` in a `core` test
This commit is contained in:
parent
0250f0244b
commit
75ae20a42f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue