]> git.proxmox.com Git - rustc.git/blame - src/tools/rustfmt/tests/target/issue-1350.rs
New upstream version 1.52.1+dfsg1
[rustc.git] / src / tools / rustfmt / tests / target / issue-1350.rs
CommitLineData
f20569fa
XL
1// rustfmt-max_width: 120
2// rustfmt-comment_width: 110
3
4impl Struct {
5 fn fun() {
6 let result = match <R::RequestResult as serde::Deserialize>::deserialize(&json) {
7 Ok(v) => v,
8 Err(e) => match <R::ErrorResult as serde::Deserialize>::deserialize(&json) {
9 Ok(v) => return Err(Error::with_json(v)),
10 Err(e2) => return Err(Error::with_json(e)),
11 },
12 };
13 }
14}