rust/compiler/rustc_lint/src
Matthias Krüger 8db3d7cfb6
Rollup merge of #99911 - cjgillot:no-guess, r=davidtwco
Remove some uses of `guess_head_span`

That function cuts a span at the first occurrence of `{`.  Using `def_span` is almost always more precise.
2022-08-01 16:49:31 +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 #99911 - cjgillot:no-guess, r=davidtwco 2022-08-01 16:49:31 +02:00
context.rs Generate correct suggestion with named arguments used positionally 2022-07-25 00:00:27 -06:00
early.rs Remove some early check_* functions. 2022-07-29 15:27:16 +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 lint: add bad opt access internal lint 2022-07-27 11:24:27 +01:00
late.rs Remove some late check_* functions. 2022-07-29 15:30:12 +10:00
levels.rs lint: LintDiagnosticBuilder into rustc_errors 2022-07-05 16:00:20 +01:00
lib.rs Rollup merge of #99888 - nnethercote:streamline-visitors, r=cjgillot 2022-07-30 07:39:54 +09: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 Remove some late check_* functions. 2022-07-29 15:30:12 +10: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 Update invalid atomic ordering lint 2022-07-18 12:02:11 +02:00
unused.rs lint: port unused allocation diagnostics 2022-06-30 08:59:22 +01:00