2018-10-20 23:36:17 +03:00
|
|
|
error: found removed `do catch` syntax
|
2019-01-06 18:33:05 +03:00
|
|
|
--> $DIR/do-catch-suggests-try.rs:2:25
|
2018-10-20 23:36:17 +03:00
|
|
|
|
|
|
|
|
LL | let _: Option<()> = do catch {};
|
|
|
|
| ^^
|
|
|
|
|
|
2019-09-01 18:09:59 +01:00
|
|
|
= help: following RFC #2388, the new non-placeholder syntax is `try`
|
2018-10-20 23:36:17 +03:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|