1
Fork 0
rust/src/test/ui/parser/do-catch-suggests-try.stderr

11 lines
276 B
Text
Raw Normal View History

2018-10-20 23:36:17 +03:00
error: found removed `do catch` syntax
--> $DIR/do-catch-suggests-try.rs:2:25
2018-10-20 23:36:17 +03:00
|
LL | let _: Option<()> = do catch {};
| ^^
|
= 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