2016-05-09 20:11:25 +02:00
|
|
|
// rustfmt-use_try_shorthand: true
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
let x = some_expr()?;
|
|
|
|
|
|
|
|
let y = a.very
|
2016-05-12 21:50:43 +02:00
|
|
|
.loooooooooooooooooooooooooooooooooooooong()
|
|
|
|
.chain()
|
|
|
|
.inside()
|
|
|
|
.weeeeeeeeeeeeeee()?
|
|
|
|
.test()
|
|
|
|
.0
|
|
|
|
.x;
|
2016-05-09 20:11:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
fn test() {
|
|
|
|
a?
|
|
|
|
}
|
2017-05-04 06:52:35 +02:00
|
|
|
|
|
|
|
fn issue1291() {
|
2017-06-12 06:01:41 +02:00
|
|
|
fs::create_dir_all(&gitfiledir).chain_err(|| {
|
|
|
|
format!(
|
|
|
|
"failed to create the {} submodule directory for the workarea",
|
|
|
|
name
|
|
|
|
)
|
|
|
|
})?;
|
2017-05-04 06:52:35 +02:00
|
|
|
}
|