Skip to content

Commit 1b62c12

Browse files
committed
obey line length limit (part 2)
1 parent 5cc90f3 commit 1b62c12

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/opaque-types-type-alias-impl-trait-inference.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,13 @@ The registered hidden types are stored into the `QueryResponse` struct in the `o
188188

189189
When the `QueryResponse` is instantiated into the surrounding infcx in `query_response_substitution_guess`, we convert each hidden type constraint by invoking `handle_opaque_type` (as above).
190190

191-
There is one bit of "weirdness". The instantiated opaque types are stored in a *map*, and we have to pick one opaque type to use as the key of that map. We use the one that is considered "expected". But really both of the opaque types may have defining uses. When the query result is instantiated, that will be re-evaluated from the context that is using the query.
191+
There is one bit of "weirdness".
192+
The instantiated opaque types are stored in a *map*,
193+
and we have to pick one opaque type to use as the key of that map.
194+
We use the one that is considered "expected".
195+
But really both of the opaque types may have defining uses.
196+
When the query result is instantiated,
197+
that will be re-evaluated from the context that is using the query.
192198

193199
### Within the MIR borrow checker
194200

0 commit comments

Comments
 (0)