mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 03:07:25 +00:00

This commit modifies name resolution to emit an error when non-static lifetimes are used in anonymous constants when the `min_const_generics` feature is enabled. Signed-off-by: David Wood <david@davidtw.co>