Guillaume Gomez
b0935b1ddf
Rollup merge of #98497 - compiler-errors:span-inference-note, r=lcnr
...
Improve some inference diagnostics
- Properly point out point location where "type must be known at this point", or else omit the note if it's not associated with a useful span.
- Fix up some type ambiguity diagnostics, errors shouldn't say "cannot infer type for reference `&'a ()`" when the given type has no inference variables.
2022-07-01 23:39:09 +02:00
..
2022-06-27 08:48:55 +10:00
2022-06-27 08:48:55 +10:00
2022-06-27 08:48:55 +10:00
2022-06-27 08:48:55 +10:00
2022-06-29 17:59:31 +05:30
2022-07-01 15:19:49 +10:00
2022-06-27 08:48:55 +10:00
2022-06-30 12:47:34 +00:00
2022-06-30 09:20:52 +00:00
2022-07-01 20:19:21 +05:30
2022-06-29 09:11:29 +00:00
2022-06-27 10:43:51 +02:00
2022-06-29 10:28:18 +05:30
2022-06-28 22:41:56 +00:00
2022-06-30 19:55:55 +02:00
2022-06-29 20:35:07 +02:00
2022-06-29 09:11:29 +00:00
2022-06-27 08:48:55 +10:00
2022-07-01 17:38:34 +00:00
2022-06-27 08:48:55 +10:00
2022-06-28 19:59:09 +05:30
2022-06-30 16:17:38 -04:00
2022-06-30 12:47:34 +00:00
2022-06-29 09:11:29 +00:00
2022-07-01 17:38:34 +00:00
2022-07-01 14:43:15 +00:00
2022-06-27 08:48:55 +10:00
2022-06-29 17:59:37 +05:30
2022-06-27 08:48:55 +10:00
2022-06-29 20:35:07 +02:00
2022-07-01 14:43:15 +00:00
2022-06-29 03:22:47 +00:00
2022-06-27 08:48:55 +10:00
2022-06-30 19:55:53 +02:00
2022-06-27 08:48:55 +10:00
2022-06-27 08:32:06 +01:00
2022-06-29 00:20:57 +00:00
2022-07-01 17:38:34 +00:00
2022-06-29 09:11:29 +00:00
2022-06-29 10:30:47 +02:00
2022-06-27 08:48:55 +10:00
2022-07-01 23:39:09 +02:00