rust/src/librustc_typeck
bors 8549cfed4b Auto merge of #69649 - estebank:negative-impl-span, r=Centril
Tweak output for invalid negative impl errors

Follow up to #69722. Tweak negative impl errors emitted in the HIR:

```
error[E0192]: invalid negative impl
  --> $DIR/E0192.rs:9:6
   |
LL | impl !Trait for Foo { }
   |      ^^^^^^
   |
   = note: negative impls are only allowed for auto traits, like `Send` and `Sync`
```
2020-03-23 12:40:36 +00:00
..
check Auto merge of #69649 - estebank:negative-impl-span, r=Centril 2020-03-23 12:40:36 +00:00
coherence remove unused unit values (clippy::unused_unit) 2020-03-21 20:45:19 +01:00
collect Rollup merge of #70223 - lcnr:issue70167, r=eddyb 2020-03-22 15:48:34 +01:00
impl_wf_check remove redundant import (clippy::single_component_path_imports) 2020-03-20 20:23:03 +01:00
outlives Don't redundantly repeat field names (clippy::redundant_field_names) 2020-03-06 19:42:18 +01:00
variance More Method->Fn renaming 2020-03-15 19:15:55 -05:00
astconv.rs Rollup merge of #69942 - estebank:sized-verbose-sugg, r=matthewjasper 2020-03-23 10:29:09 +01:00
Cargo.toml use direct imports for rustc::{lint, session}. 2020-03-16 02:52:06 +01:00
check_unused.rs use direct imports for rustc::{lint, session}. 2020-03-16 02:52:06 +01:00
collect.rs Auto merge of #69649 - estebank:negative-impl-span, r=Centril 2020-03-23 12:40:36 +00:00
constrained_generic_params.rs Implement soundness check for min_specialization 2020-03-15 13:22:58 +00:00
expr_use_visitor.rs rustc: rename DefId::to_local to expect_local and use it instead of LocalDefId::from_def_id. 2020-03-19 11:15:35 +02:00
impl_wf_check.rs Auto merge of #68970 - matthewjasper:min-spec, r=nikomatsakis 2020-03-16 20:49:26 +00:00
lib.rs Rollup merge of #69920 - Centril:hir-cleanup, r=Zoxc 2020-03-18 18:03:44 +01:00
mem_categorization.rs rustc: rename DefId::to_local to expect_local and use it instead of LocalDefId::from_def_id. 2020-03-19 11:15:35 +02:00
README.md rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org 2020-03-10 17:08:18 -03:00
structured_errors.rs use direct imports for rustc::{lint, session}. 2020-03-16 02:52:06 +01:00

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