summary refs log tree commit diff
path: root/src/test/ui/parser/do-catch-suggests-try.stderr
blob: e151d4cf8a6aa0999c7b883a952101f9cdc1a2bc (plain)
1
2
3
4
5
6
7
8
9
10
error: found removed `do catch` syntax
  --> $DIR/do-catch-suggests-try.rs:2:25
   |
LL |     let _: Option<()> = do catch {};
   |                         ^^
   |
   = help: following RFC #2388, the new non-placeholder syntax is `try`

error: aborting due to previous error