Commit f7e86a5
committed
Improve cannot move errors
* Show the place and type being moved
* Give a special error for variables in match guard
* Simplify search for overloaded deref
* Search for overloaded index1 parent f309f91 commit f7e86a5
File tree
2 files changed
+320
-209
lines changed- src/librustc_mir
- borrow_check
- util
2 files changed
+320
-209
lines changed
0 commit comments