// rustfmt-use_try_shorthand: truefnmain(){letx=some_expr()?;lety=a.very.loooooooooooooooooooooooooooooooooooooong().chain().inside().weeeeeeeeeeeeeee()?.test().0.x;}fntest(){a?}fnissue1291(){fs::create_dir_all(&gitfiledir).chain_err(||{format!("failed to create the {} submodule directory for the workarea",name)})?;}