disallow non-static lifetimes in const generics
This has been put in place to patch over an ICE caused when we encounter a non-static lifetime in a const generic during borrow checking. This restriction may be relaxed in the future, but we need more discussion before then, and in the meantime we should still deal with this ICE. Fixes issue #60814
Showing
src/test/ui/error-codes/E0771.rs
0 → 100644
想要评论请 注册 或 登录