Matthias Krüger d3d5163921
Rollup merge of #108186 - compiler-errors:closures-with-late-bound-types-r-bad, r=cjgillot
Deny non-lifetime bound vars in `for<..> ||` closure binders

Moves the check for illegal bound var types from astconv to resolve_bound_vars. If a binder is defined to have a type or const late-bound var that's not allowed, we'll resolve any usages to ty error or const error values, so we shouldn't ever see late-bound types or consts in places they aren't expected.

Fixes #108184
Fixes #108181
Fixes #108192
2023-02-18 13:26:47 +01:00
..
2023-02-16 15:14:45 +11:00
2023-02-16 11:42:35 -03:00
2023-02-16 11:42:35 -03:00
2023-02-18 03:34:27 +00:00
2023-02-16 11:42:35 -03:00
2023-02-16 11:42:35 -03:00
2023-02-16 15:14:45 +11:00
2023-02-16 11:42:35 -03:00
2023-02-16 11:42:35 -03:00
2023-02-16 11:42:35 -03:00
2023-02-12 16:30:37 +01:00
2023-02-16 15:06:17 -08:00
2023-02-12 20:18:48 -05:00
2023-02-14 20:22:10 +00:00
2023-02-15 09:05:05 -05:00