summary refs log tree commit diff
path: root/src/test/ui/parser/do-catch-suggests-try.stderr
blob: 6d13b0f1cc87261a7a97deb63d27b556266ec31f (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