2017-05-27 12:58:52 -05:00
|
|
|
error[E0596]: cannot borrow immutable local variable `key` as mutable
|
2016-11-02 01:15:02 -05:00
|
|
|
--> $DIR/issue-34337.rs:16:14
|
|
|
|
|
|
|
|
|
16 | get(&mut key);
|
|
|
|
| ^^^
|
|
|
|
| |
|
|
|
|
| try removing `&mut` here
|
|
|
|
| cannot reborrow mutably
|
|
|
|
|
2017-05-22 06:46:05 -05:00
|
|
|
error: aborting due to previous error(s)
|
2016-11-02 01:15:02 -05:00
|
|
|
|