Aaron Hill
d18b4bb7a7
Note when a a move/borrow error is caused by a deref coercion
...
Fixes #73268
When a deref coercion occurs, we may end up with a move error if the
base value has been partially moved out of. However, we do not indicate
anywhere that a deref coercion is occuring, resulting in an error
message with a confusing span.
This PR adds an explicit note to move errors when a deref coercion is
involved. We mention the name of the type that the deref-coercion
resolved to, as well as the `Deref::Target` associated type being used.
2020-09-10 20:56:20 -04:00
..
2020-08-30 22:57:54 +03:00
2020-08-30 18:45:07 +03:00
2020-08-30 18:45:07 +03:00
2020-09-10 06:56:33 -07:00
2020-08-30 18:45:07 +03:00
2020-09-10 06:56:33 -07:00
2020-09-10 06:56:33 -07:00
2020-08-30 18:45:07 +03:00
2020-09-10 13:58:41 +02:00
2020-09-09 21:02:24 -07:00
2020-09-10 13:58:41 +02:00
2020-09-08 22:37:18 -04:00
2020-09-03 23:27:45 +00:00
2020-09-09 15:05:45 -07:00
2020-09-02 10:43:17 +03:00
2020-09-10 06:56:33 -07:00
2020-09-10 09:48:02 +02:00
2020-08-30 18:45:07 +03:00
2020-09-09 14:49:32 -07:00
2020-09-04 09:24:44 +02:00
2020-08-30 18:45:07 +03:00
2020-08-30 18:45:07 +03:00
2020-08-30 11:13:18 -07:00
2020-09-10 13:58:41 +02:00
2020-09-03 23:27:45 +00:00
2020-09-02 00:40:19 +03:00
2020-09-04 17:47:51 +02:00
2020-09-09 23:05:43 +03:00
2020-09-09 21:23:25 +10:00
2020-09-04 17:47:51 +02:00
2020-09-10 20:56:20 -04:00
2020-09-10 20:56:20 -04:00
2020-09-10 20:56:20 -04:00
2020-09-10 12:20:09 -07:00
2020-08-30 18:45:07 +03:00
2020-09-05 09:35:17 +00:00
2020-08-30 18:45:07 +03:00
2020-09-04 17:47:51 +02:00
2020-08-30 18:45:07 +03:00
2020-09-09 15:06:05 -07:00
2020-09-10 13:58:41 +02:00
2020-08-30 18:45:07 +03:00
2020-09-10 13:58:41 +02:00
2020-09-10 20:56:20 -04:00
2020-09-04 17:47:51 +02:00
2020-09-09 16:32:55 +02:00
2020-09-10 20:56:20 -04:00
2020-09-04 19:17:57 -04:00
2020-09-04 17:47:51 +02:00
2020-09-10 20:56:20 -04:00