]> git.lizzy.rs Git - rust.git/commit
Optionally allow `expect` and `unwrap` in tests
authorSamuel E. Moelius III <sam@moeli.us>
Sun, 8 May 2022 10:44:58 +0000 (06:44 -0400)
committerSamuel E. Moelius III <sam@moeli.us>
Sun, 8 May 2022 11:18:31 +0000 (07:18 -0400)
commit597f61bbe3a861c3d77b784cc701e6a975fbe842
treee0deb4a19ca2bee054e23f3dc52fb922b5acc62b
parentbdfea1c095d0a98e759eeb680d34d2d6da51132c
Optionally allow `expect` and `unwrap` in tests
12 files changed:
clippy_lints/src/lib.rs
clippy_lints/src/methods/expect_used.rs
clippy_lints/src/methods/mod.rs
clippy_lints/src/methods/unwrap_used.rs
clippy_lints/src/utils/conf.rs
tests/ui-toml/expect_used/clippy.toml [new file with mode: 0644]
tests/ui-toml/expect_used/expect_used.rs [new file with mode: 0644]
tests/ui-toml/expect_used/expect_used.stderr [new file with mode: 0644]
tests/ui-toml/toml_unknown_key/conf_unknown_key.stderr
tests/ui-toml/unwrap_used/clippy.toml [new file with mode: 0644]
tests/ui-toml/unwrap_used/unwrap_used.rs [new file with mode: 0644]
tests/ui-toml/unwrap_used/unwrap_used.stderr [new file with mode: 0644]