rust/src/librustc_typeck
bors 5b0caef54a Auto merge of #68377 - estebank:fn-obligations-spans, r=oli-obk
Tweak obligation error output

- Point at arguments or output when fn obligations come from them, or ident when they don't
- Point at `Sized` bound (fix #47990)
- When object unsafe trait uses itself in associated item suggest using `Self` (fix #66424, fix #33375, partially address #38376, cc #61525)
-  Point at reason in object unsafe trait with `Self` in supertraits or `where`-clause (cc #40533, cc #68377)
- On implicit type parameter `Sized` obligations, suggest `?Sized` (fix #57744, fix #46683)
2020-02-04 17:17:55 +00:00
..
check Auto merge of #68377 - estebank:fn-obligations-spans, r=oli-obk 2020-02-04 17:17:55 +00:00
coherence remove rustc_error_codes deps except in rustc_driver 2020-01-18 21:53:53 +01:00
outlives remove rustc_error_codes deps except in rustc_driver 2020-01-18 21:53:53 +01:00
variance remove rustc_error_codes deps except in rustc_driver 2020-01-18 21:53:53 +01:00
astconv.rs Normalise notes with the/is 2020-01-24 16:24:50 +00:00
Cargo.toml Move builtin attribute logic to new rustc_attr crate. 2020-02-01 18:54:56 +01:00
check_unused.rs nix syntax::errors & prefer rustc_errors over errors 2020-01-10 07:41:30 +01:00
collect.rs Move builtin attribute logic to new rustc_attr crate. 2020-02-01 18:54:56 +01:00
constrained_generic_params.rs don't clone types that are copy, round two. 2020-01-27 01:18:18 +01:00
expr_use_visitor.rs Replace walk_callee with consume_expr 2020-01-20 07:38:05 +09:00
impl_wf_check.rs remove rustc_error_codes deps except in rustc_driver 2020-01-18 21:53:53 +01:00
lib.rs Drop cfg(bootstrap) code 2020-01-31 12:31:09 -05:00
mem_categorization.rs Remove rustc_hir reexports in rustc::hir. 2020-01-05 12:49:22 +01:00
namespace.rs Remove rustc_hir reexports in rustc::hir. 2020-01-05 12:49:22 +01:00
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00
structured_errors.rs remove rustc_error_codes deps except in rustc_driver 2020-01-18 21:53:53 +01:00

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