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

error: aborting due to previous error