]>
git.proxmox.com Git - rustc.git/blob - src/tools/rustfmt/tests/source/try-conversion.rs
1 // rustfmt-use_try_shorthand: true
4 let x
= try
!(some_expr());
6 let y
= try
!(a
.very
.loooooooooooooooooooooooooooooooooooooong().chain().inside().weeeeeeeeeeeeeee()).test().0.x
;
14 try
!(fs
::create_dir_all(&gitfiledir
).chain_err(|| {
15 format
!("failed to create the {} submodule directory for the workarea",