Auto merge of #144677 - nnethercote:bound-const-handling, r=lcnr
Improve bound const handling A few changes to make const handling more similar to type handling. r? `@compiler-errors` -errors
This commit is contained in:
@@ -548,7 +548,10 @@ fn plug_infer_with_placeholders<'tcx>(
|
||||
ct,
|
||||
ty::Const::new_placeholder(
|
||||
self.infcx.tcx,
|
||||
ty::Placeholder { universe: self.universe, bound: self.next_var() },
|
||||
ty::Placeholder {
|
||||
universe: self.universe,
|
||||
bound: ty::BoundConst { var: self.next_var() },
|
||||
},
|
||||
),
|
||||
)
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user