Skip to content

Commit

Permalink
Update lint list
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed May 15, 2024
1 parent d95846b commit 5697db1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rust/lint/lint.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Lint checks provided by rustc:
explicit-outlives-requirements allow outlives requirements can be inferred
ffi-unwind-calls allow call to foreign functions or function pointers with FFI-unwind ABI
fuzzy-provenance-casts allow a fuzzy integer to pointer cast is used
impl-trait-overcaptures allow `impl Trait` will capture more lifetimes than possibly intended in edition 2024
keyword-idents-2018 allow detects edition keywords being used as an identifier
keyword-idents-2024 allow detects edition keywords being used as an identifier
let-underscore-drop allow non-binding let on a type that implements `Drop`
Expand Down Expand Up @@ -90,6 +91,7 @@ Lint checks provided by rustc:
for-loops-over-fallibles warn for-looping over an `Option` or a `Result`, which is more clearly expressed as an `if let`
function-item-references warn suggest casting to a function pointer when attempting to take references to function items
hidden-glob-reexports warn name introduced by a private item shadows a name introduced by a public glob re-export
impl-trait-redundant-captures warn redundant precise-capturing `use<...>` syntax on an `impl Trait`
improper-ctypes warn proper use of libc types in foreign modules
improper-ctypes-definitions warn proper use of libc types in foreign item definitions
incomplete-features warn incomplete features that may function improperly in some or all cases
Expand Down

0 comments on commit 5697db1

Please sign in to comment.