mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
d3d5163921
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 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |