• G
    disallow non-static lifetimes in const generics · 69d5dd6a
    Gabriel Smith 提交于
    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
    69d5dd6a
diagnostics.rs 55.0 KB