]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/do-catch-suggests-try.stderr
Merge pull request #28 from rust-lang/master
[rust.git] / src / test / ui / parser / do-catch-suggests-try.stderr
1 error: found removed `do catch` syntax
2   --> $DIR/do-catch-suggests-try.rs:2:25
3    |
4 LL |     let _: Option<()> = do catch {};
5    |                         ^^
6    |
7    = help: following RFC #2388, the new non-placeholder syntax is `try`
8
9 error: aborting due to previous error
10