rust/compiler/rustc_lint/src
Aaron Kofsky ad7587fedc Add let_underscore_lock lint.
Similar to `let_underscore_drop`, this lint checks for statements similar
to `let _ = foo`, where `foo` is a lock guard. These types of let
statements are especially problematic because the lock gets released
immediately, instead of at the end of the scope. This behavior is almost
always the wrong thing.
2022-06-04 15:34:02 -04:00
..
nonstandard_style
array_into_iter.rs errors: span_suggestion takes impl ToString 2022-04-29 02:05:20 +01:00
builtin.rs Auto merge of #97012 - oli-obk:🦀_intrinsics, r=davidtwco 2022-05-17 09:39:26 +00:00
context.rs Lint single-use-lifetimes on the AST. 2022-05-20 12:26:37 +02:00
early.rs Lint single-use-lifetimes on the AST. 2022-05-20 12:26:37 +02:00
enum_intrinsics_non_enums.rs
expect.rs Move lint expectation checking into a separate query (RFC 2383) 2022-05-08 14:37:14 +02:00
hidden_unicode_codepoints.rs
internal.rs
late.rs Move lint expectation checking into a separate query (RFC 2383) 2022-05-08 14:37:14 +02:00
let_underscore.rs Add let_underscore_lock lint. 2022-06-04 15:34:02 -04:00
levels.rs Lint single-use-lifetimes on the AST. 2022-05-20 12:26:37 +02:00
lib.rs Add let_underscore_lock lint. 2022-06-04 15:34:02 -04:00
methods.rs
non_ascii_idents.rs
non_fmt_panic.rs Make rustc_parse_format compile on stable 2022-05-03 11:26:58 +02:00
nonstandard_style.rs Stop visiting visibility. 2022-04-23 09:53:45 +02:00
noop_method_call.rs
pass_by_value.rs
passes.rs
redundant_semicolon.rs
tests.rs
traits.rs
types.rs only_local: always check for misuse 2022-05-10 12:07:35 +02:00
unused.rs only_local: always check for misuse 2022-05-10 12:07:35 +02:00