2018-07-15 16:11:54 -05:00
|
|
|
error[E0282]: type annotations needed
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-24013.rs:5:20
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
|
|
|
LL | unsafe {swap::<&mut _>(transmute(&a), transmute(&b))};
|
2018-07-18 14:35:20 -05:00
|
|
|
| ^^^^^^ cannot infer type
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0282`.
|