1
Fork 0
rust/compiler/rustc_typeck
Dylan DPC dfddc2f918
Rollup merge of #92744 - lambinoo:I-91161-non-exhaustive-foreign-variants, r=scottmcm
Check if enum from foreign crate has any non exhaustive variants when attempting a cast

Fixes #91161

As stated in the issue, this will require a crater run as it might break other people's stuff.
2022-08-11 22:46:56 +05:30
..
src Rollup merge of #92744 - lambinoo:I-91161-non-exhaustive-foreign-variants, r=scottmcm 2022-08-11 22:46:56 +05:30
Cargo.toml Improve error message for unstable default body 2022-07-26 15:40:04 +04:00
README.md

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