Dylan DPC
0d61a507f5
Rollup merge of #101399 - cjgillot:borrowck-binding-span, r=estebank
...
Shrink span for bindings with subpatterns.
Bindings with nested patterns (`binding @ pat` syntax) currently point to the full pattern. This PR proposes to shrink the span to stop before the ````@`.``` This makes the diagnostics for move/mutability conflicts clearer, as they not point to the `binding` only, instead of the full pat.
r? ```@estebank```
2022-09-08 11:55:06 +05:30
..
2022-09-07 23:40:06 +00:00
2022-09-07 21:48:16 +02:00
2022-09-06 03:16:29 +00:00
2022-09-07 07:43:54 +09:00
2022-09-06 15:32:35 +00:00
2022-09-07 20:12:45 +00:00
2022-09-06 14:09:49 +00:00
2022-09-07 20:12:45 +00:00
2022-09-07 20:12:45 +00:00
2022-09-07 20:12:45 +00:00
2022-09-07 20:12:45 +00:00
2022-09-06 18:41:08 +03:00
2022-09-07 20:12:45 +00:00
2022-09-06 14:16:54 +08:00
2022-09-07 20:12:45 +00:00
2022-09-06 03:16:29 +00:00
2022-09-08 11:55:06 +05:30
2022-09-07 03:17:10 +00:00
2022-09-06 17:00:26 +02:00
2022-09-04 20:04:51 +04:00
2022-09-05 02:18:45 -04:00
2022-09-06 17:00:26 +02:00
2022-09-08 02:21:16 +00:00
2022-09-08 11:55:06 +05:30
2022-09-06 14:18:32 +00:00
2022-09-07 21:48:20 +02:00
2022-09-06 17:00:26 +02:00
2022-09-07 21:48:15 +02:00
2022-09-07 21:48:16 +02:00
2022-09-06 19:26:08 -05:00
2022-09-08 02:21:16 +00:00
2022-09-07 10:46:14 -03:00
2022-09-06 03:16:29 +00:00
2022-09-05 02:18:45 -04:00
2022-09-05 01:35:01 +00:00
2022-09-05 15:08:52 +10:00
2022-09-07 20:12:45 +00:00
2022-09-07 21:48:16 +02:00
2022-09-04 07:55:44 +00:00
2022-09-07 21:48:16 +02:00