1 error[E0282]: type annotations needed
2 --> $DIR/issue-24013.rs:15:20
4 LL | unsafe {swap::<&mut _>(transmute(&a), transmute(&b))};
5 | ^^^^^^ cannot infer type
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0282`.