]> git.lizzy.rs Git - rust.git/commit
Fix panic with outlives in existential type
authorDan Robertson <dan@dlrobertson.com>
Fri, 30 Nov 2018 02:04:10 +0000 (02:04 +0000)
committerDan Robertson <dan@dlrobertson.com>
Fri, 30 Nov 2018 02:04:10 +0000 (02:04 +0000)
commita0fec9488ed6f1d7b751f7e45b9919f908b560a1
tree8c97f9f9c78158e17f5e0e2b13a38f8308083d18
parent400c2bc5ed292f77c49693320f4eda37bb375e90
Fix panic with outlives in existential type

Don't panic in determining the privacy of a type if a lifetime outlives
generic exists in an existential type.
src/librustc_privacy/lib.rs