summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue_3934.rs
blob: 68f9fd0aeca0d0fd507d6ea6e8ad57e59e2c4b2f (plain)
1
2
3
4
5
6
7
8
mod repro {
    pub fn push() -> Result<(), ()> {
        self.api.map_api_result(|api| {
            #[allow(deprecated)]
            match api.apply_extrinsic_before_version_4_with_context()? {}
        })
    }
}