]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_infer/src/infer/outlives/env.rs
re-base and use `OutlivesEnvironment::with_bounds`
[rust.git] / compiler / rustc_infer / src / infer / outlives / env.rs
index 7afb44517a37b464bb3602fe07bdef043dcadaad..872886da3626108ca370bfb942d650bced1a1775 100644 (file)
@@ -109,7 +109,7 @@ pub fn region_bound_pairs(&self) -> &RegionBoundPairs<'tcx> {
 
 impl<'a, 'tcx> OutlivesEnvironmentBuilder<'tcx> {
     #[inline]
-    pub fn build(self) -> OutlivesEnvironment<'tcx> {
+    fn build(self) -> OutlivesEnvironment<'tcx> {
         OutlivesEnvironment {
             param_env: self.param_env,
             free_region_map: FreeRegionMap { relation: self.region_relation.freeze() },