We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 346d0d5 commit a440c4aCopy full SHA for a440c4a
src/test/run-pass/try-operator-hygiene.rs
@@ -12,7 +12,7 @@
12
//
13
// match expr {
14
// Ok(val) => val,
15
-// Err(err) => return From::from(err),
+// Err(err) => return Err(From::from(err)),
16
// }
17
18
// This test verifies that the expansion is hygienic, i.e. it's not affected by other `val` and
0 commit comments