diff options
| author | Jana Dönszelmann <jana@donsz.nl> | 2025-09-30 14:01:05 +0200 | 
|---|---|---|
| committer | Jana Dönszelmann <jana@donsz.nl> | 2025-09-30 21:56:06 +0200 | 
| commit | bdebd479acb692319ace3f88bf874ea365503199 (patch) | |
| tree | ed0e8971e1f4363130c148b2c22e377e8887ba54 /compiler/rustc_trait_selection/src | |
| parent | a2db9280539229a3b8a084a09886670a57bc7e9c (diff) | |
| download | rust-bdebd479acb692319ace3f88bf874ea365503199.tar.gz rust-bdebd479acb692319ace3f88bf874ea365503199.zip | |
remove outdated context (inner) infctx
Diffstat (limited to 'compiler/rustc_trait_selection/src')
| -rw-r--r-- | compiler/rustc_trait_selection/src/regions.rs | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/compiler/rustc_trait_selection/src/regions.rs b/compiler/rustc_trait_selection/src/regions.rs index 2b33b8ac9f8..debc4fda15a 100644 --- a/compiler/rustc_trait_selection/src/regions.rs +++ b/compiler/rustc_trait_selection/src/regions.rs @@ -77,6 +77,8 @@ impl<'tcx> InferCtxt<'tcx> { /// /// Prefer this method over `resolve_regions_with_normalize`, unless you are /// doing something specific for normalization. + /// + /// This function assumes that all infer variables are already constrained. fn resolve_regions( &self, body_id: LocalDefId, | 
