mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 02:40:40 +00:00

Keep track of the origin of a `T: Future` obligation when caused by an `.await` expression. Address #66731.
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.