rust/src/librustc_typeck
Philipp Hansch 037fdb8213
Improve bug message in check_ty
This branch was hit in Clippy and I think it would be nice to
show the thing that was unexpected in the bug message.

It's also in line with the other `bug!` messages in `check_ty`.
2019-01-30 19:17:06 +01:00
..
check remove _with_applicability from suggestion fns 2019-01-26 23:07:55 -05:00
coherence forbid manually impl'ing one of an object type's marker traits 2019-01-13 19:44:28 +02:00
outlives add support for principal-less trait object types 2019-01-04 00:34:52 +02:00
variance add support for principal-less trait object types 2019-01-04 00:34:52 +02:00
astconv.rs remove _with_applicability from suggestion fns 2019-01-26 23:07:55 -05:00
Cargo.toml rustc: Remove platform intrinsics crate 2019-01-14 09:54:23 -08:00
check_unused.rs remove _with_applicability from suggestion fns 2019-01-26 23:07:55 -05:00
collect.rs Improve bug message in check_ty 2019-01-30 19:17:06 +01:00
constrained_type_params.rs Remove licenses 2018-12-25 21:08:33 -07:00
diagnostics.rs Auto merge of #55641 - nagisa:optimize-attr, r=pnkfelix 2019-01-26 07:08:18 +00:00
impl_wf_check.rs Remove licenses 2018-12-25 21:08:33 -07:00
lib.rs Remove quote_*! macros and associated APIs 2019-01-24 07:37:34 -07:00
namespace.rs Remove licenses 2018-12-25 21:08:33 -07:00
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00
structured_errors.rs remove _with_applicability from suggestion fns 2019-01-26 23:07:55 -05:00

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