improve infer var handling for implied bounds
This commit is contained in:
parent
efa717bc2d
commit
71f8fd5c58
4 changed files with 41 additions and 34 deletions
|
@ -53,6 +53,7 @@ pub struct OutlivesEnvironment<'tcx> {
|
|||
}
|
||||
|
||||
/// Builder of OutlivesEnvironment.
|
||||
#[derive(Debug)]
|
||||
struct OutlivesEnvironmentBuilder<'tcx> {
|
||||
param_env: ty::ParamEnv<'tcx>,
|
||||
region_relation: TransitiveRelationBuilder<Region<'tcx>>,
|
||||
|
@ -109,6 +110,7 @@ impl<'tcx> OutlivesEnvironment<'tcx> {
|
|||
|
||||
impl<'a, 'tcx> OutlivesEnvironmentBuilder<'tcx> {
|
||||
#[inline]
|
||||
#[instrument(level = "debug")]
|
||||
fn build(self) -> OutlivesEnvironment<'tcx> {
|
||||
OutlivesEnvironment {
|
||||
param_env: self.param_env,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue