Make regionck care about placeholders in outlives components
This commit is contained in:
parent
290fc68f2d
commit
8f267e2b87
16 changed files with 177 additions and 13 deletions
|
@ -80,6 +80,10 @@ pub(crate) fn insert_outlives_predicate<'tcx>(
|
|||
.or_insert(span);
|
||||
}
|
||||
|
||||
Component::Placeholder(_) => {
|
||||
span_bug!(span, "Should not deduce placeholder outlives component");
|
||||
}
|
||||
|
||||
Component::Alias(alias_ty) => {
|
||||
// This would either arise from something like:
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue