Skip to content

Commit d5b6560

Browse files
authored
Merge pull request #3944 from calebcartwright/fix-test
fix try! test for 2018 edition
2 parents 2fe40b2 + e200f1f commit d5b6560

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/source/issue-3908.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ macro_rules! foo {
55
bar1()
66
// baz1
77
.expect("Qux1");
8-
try!(try!(try!(bar2())
8+
r#try!(r#try!(r#try!(bar2())
99
// baz2a
1010
.expect("Qux2a"))
1111
// baz2b
@@ -17,7 +17,7 @@ bar3()?
1717
}
1818

1919
fn foo() {
20-
try!(try!(bar4())
20+
r#try!(r#try!(bar4())
2121
// baz4
2222
.expect("Qux4"));
2323
}

0 commit comments

Comments
 (0)