rust/compiler/rustc_lint/src
Guillaume Gomez d712f67897
Rollup merge of #98519 - TaKO8Ki:add-head-span-field-to-item-and-impl-item, r=cjgillot
Replace some `guess_head_span` with `def_span`

This patch fixes a part of #97417.
r? `@cjgillot`
2022-07-06 20:43:24 +02:00
..
nonstandard_style mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
array_into_iter.rs lint: port array-into-iter diagnostics 2022-06-30 08:59:19 +01:00
builtin.rs Rollup merge of #98519 - TaKO8Ki:add-head-span-field-to-item-and-impl-item, r=cjgillot 2022-07-06 20:43:24 +02:00
context.rs errors: introduce DecorateLint 2022-07-05 16:00:20 +01:00
early.rs Inline and remove {enter,exit}_attrs functions. 2022-06-16 09:52:04 +10:00
enum_intrinsics_non_enums.rs Update TypeVisitor paths 2022-07-06 06:41:53 +01:00
expect.rs lint: port expectation diagnostics 2022-06-30 08:59:21 +01:00
hidden_unicode_codepoints.rs lint: port hidden unicode codepoints diagnostics 2022-06-30 08:59:21 +01:00
internal.rs errors: introduce DecorateLint 2022-07-05 16:00:20 +01:00
late.rs Inline and remove {enter,exit}_attrs functions. 2022-06-16 09:52:04 +10:00
levels.rs lint: LintDiagnosticBuilder into rustc_errors 2022-07-05 16:00:20 +01:00
lib.rs Make some lints incremental. 2022-06-19 00:00:36 +02:00
methods.rs lint: port CString ptr diagnostics 2022-06-30 08:59:21 +01:00
non_ascii_idents.rs lint: port non-ascii-idents diagnostics 2022-06-30 08:59:21 +01:00
non_fmt_panic.rs lint: port non-fmt-panic diagnostics 2022-06-30 08:59:21 +01:00
nonstandard_style.rs lint: port non-standard style diagnostics 2022-06-30 08:59:21 +01:00
noop_method_call.rs Update TypeVisitor paths 2022-07-06 06:41:53 +01:00
pass_by_value.rs lint: port pass-by-value diagnostics 2022-06-30 08:59:21 +01:00
passes.rs Do not pass hir::Crate to lints. 2021-09-30 17:39:54 +02:00
redundant_semicolon.rs lint: port redundant semicolons diagnostics 2022-06-30 08:59:21 +01:00
tests.rs Update to last upstream version 2021-07-08 17:14:28 +02:00
traits.rs lint: port drop trait/glue diagnostics 2022-06-30 08:59:21 +01:00
types.rs Rollup merge of #98884 - davidtwco:translation-on-lints-derive, r=oli-obk 2022-07-06 14:49:10 +05:30
unused.rs lint: port unused allocation diagnostics 2022-06-30 08:59:22 +01:00