rust/src/librustc_typeck
Zack M. Davis 0b39a82cf4 in which the trivial-casts word to the wise is tucked into a help note
The top level message shouldn't be too long; the
replaced-by-coercion/temporary-variable advice can live in a note. Also,
don't mention type ascription when it's not actually available as a real
thing. (The current state of discussion on the type ascription tracking
issue #23416 makes one rather suspect it will never be a stable thing in
its current form, but that's not for us to adjudicate in this commit.)

While we're here, yank out the differentiating parts of the
numeric/other conditional and only have one codepath emitting the
diagnostic.
2018-06-23 22:57:37 -07:00
..
check in which the trivial-casts word to the wise is tucked into a help note 2018-06-23 22:57:37 -07:00
coherence Simply joint lifetime/type iteration 2018-06-20 12:21:52 +01:00
outlives rustc: rename ty::maps to ty::query. 2018-06-14 18:05:12 +03:00
variance rustc: rename ty::maps to ty::query. 2018-06-14 18:05:12 +03:00
astconv.rs Simplify some counting 2018-06-20 12:23:46 +01:00
Cargo.toml Remove fmt_macros dependency 2018-06-05 15:55:07 -06:00
check_unused.rs rework to report errors from crates in a consistent order 2018-06-01 11:00:18 -04:00
collect.rs Parse async fn header. 2018-06-21 22:29:47 -07:00
constrained_type_params.rs bring TyCtxt into scope 2017-09-14 21:26:06 -04:00
diagnostics.rs Simply joint lifetime/type iteration 2018-06-20 12:21:52 +01:00
impl_wf_check.rs rustc: move TypeParamDef's fields into GenericParamDefKind::Type. 2018-05-21 12:13:19 +03:00
lib.rs Simply joint lifetime/type iteration 2018-06-20 12:21:52 +01:00
namespace.rs Check namespaces when resolving associated items in typeck 2017-10-15 11:58:32 +01:00
README.md Move librustc_typeck READMEs to rustc guide 2018-03-12 20:05:18 -05:00
structured_errors.rs Rename -Z explain to -Z teach 2018-01-23 11:34:57 -08:00

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