rust/compiler/rustc_typeck
Esteban Kuber 7227a87371 When .await is called on a non-Future expression, suggest removal
Keep track of the origin of a `T: Future` obligation when caused by an
`.await` expression.

Address #66731.
2021-12-13 17:09:15 +00:00
..
2021-09-20 22:21:42 -04:00

For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.