rust/src/librustc_typeck
Dylan DPC 1389caf860
Rollup merge of #68096 - varkor:diagnostic-cleanup, r=Centril
Clean up some diagnostics by making them more consistent

In general:

- Diagnostic should start with a lowercase letter.
- Diagnostics should not end with a full stop.
- Ellipses contain three dots.
- Backticks should encode Rust code.

I also reworded a couple of messages to make them read more clearly.

It might be sensible to create a style guide for diagnostics, so these informal conventions are written down somewhere, after which we could audit the existing diagnostics.

r? @Centril
2020-01-16 11:58:02 +05:30
..
check Rollup merge of #68096 - varkor:diagnostic-cleanup, r=Centril 2020-01-16 11:58:02 +05:30
coherence nix syntax::errors & prefer rustc_errors over errors 2020-01-10 07:41:30 +01:00
outlives nix syntax::errors & prefer rustc_errors over errors 2020-01-10 07:41:30 +01:00
variance nix syntax::errors & prefer rustc_errors over errors 2020-01-10 07:41:30 +01:00
astconv.rs Code review changes and fix rustdoc test. 2020-01-14 07:47:45 +13:00
Cargo.toml nix syntax::errors & prefer rustc_errors over errors 2020-01-10 07:41:30 +01:00
check_unused.rs nix syntax::errors & prefer rustc_errors over errors 2020-01-10 07:41:30 +01:00
collect.rs Account for Paths on is_suggestable_infer_ty 2020-01-14 16:18:21 -08:00
constrained_generic_params.rs canonicalize FxHash{Map,Set} imports 2020-01-04 18:57:22 +01:00
expr_use_visitor.rs Remove rustc_hir reexports in rustc::hir. 2020-01-05 12:49:22 +01:00
impl_wf_check.rs nix syntax::errors & prefer rustc_errors over errors 2020-01-10 07:41:30 +01:00
lib.rs nix syntax::errors & prefer rustc_errors over errors 2020-01-10 07:41:30 +01: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 nix syntax::errors & prefer rustc_errors over errors 2020-01-10 07:41:30 +01:00

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