mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-25 11:46:59 +00:00
Rename some `FulfillmentErrorCode`/`ObligationCauseCode` variants to be less redundant 1. Rename some `FulfillmentErrorCode` variants. 2. Always use `ObligationCauseCode::` to prefix a code, rather than using a glob import and naming them through `traits::`. 3. Rename some `ObligationCauseCode` variants -- I wasn't particularly thorough with thinking of a new names for these, so could workshop them if necessary. 4. Misc stuff from renaming. r? lcnr
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.