1 #![feature(try_blocks)]
4 let _: Option<()> = do catch {};
5 //~^ ERROR found removed `do catch` syntax
6 //~| replace with the new syntax
7 //~| following RFC #2388, the new non-placeholder syntax is `try`
9 let _recovery_witness: () = 1; //~ ERROR mismatched types