Skip to content

Commit 0958505

Browse files
Fix test_unwrap_or_default
1 parent fb1ef4f commit 0958505

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libcoretest/result.rs

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
#![feature(result_unwrap_or_default)]
12+
1113
fn op1() -> Result<isize, &'static str> { Ok(666) }
1214
fn op2() -> Result<isize, &'static str> { Err("sadface") }
1315

0 commit comments

Comments
 (0)