Skip to content

Commit

Permalink
Document some weird lint behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 authored Jan 26, 2022
1 parent 5df39d6 commit 6d650b7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@ rustflags = [

# TODOs:
# `cargo fix` might help do these fixes,
# or add a config.toml to sub-directories which should allow these lints
# or add a config.toml to sub-directories which should allow these lints,
# or try allowing the lint in the specific module (lib.rs doesn't seem to work in some cases)
#
# lint configs that don't work:
# - allowing these lints in lib.rs (command-line warn overrides allow)
# - allowing these lints in lib.rs (command-line warn overrides allow in lib.rs?)
# - adding a [target.'cfg(not(test))'] rustflags config (it runs on test code anyway)

# fix code that triggers these lints,
Expand Down

0 comments on commit 6d650b7

Please sign in to comment.