allow for_loop_over_fallibles
in a core
test
This commit is contained in:
parent
0250f0244b
commit
75ae20a42f
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue