|
| 1 | +# Copyright Kani Contributors |
| 2 | +# SPDX-License-Identifier: Apache-2.0 OR MIT |
| 3 | + |
| 4 | +[target.'cfg(all())'] |
| 5 | +rustflags = [ # Global lints/warnings. Need to use underscore instead of -. |
| 6 | + |
| 7 | + # Purposefully disabled lints |
| 8 | + "-Aclippy::expect_fun_call", |
| 9 | + "-Aclippy::or_fun_call", |
| 10 | + |
| 11 | + # todo address the following lints. |
| 12 | + "-Aclippy::cargo_common_metadata", |
| 13 | + "-Aclippy::derive_partial_eq_without_eq", |
| 14 | + "-Aclippy::explicit_auto_deref", |
| 15 | + "-Aclippy::if_same_then_else", |
| 16 | + "-Aclippy::iter_nth_zero", |
| 17 | + "-Aclippy::let_and_return", |
| 18 | + "-Aclippy::manual_map", |
| 19 | + "-Aclippy::manual_range_contains", |
| 20 | + "-Aclippy::manual_strip", |
| 21 | + "-Aclippy::map_entry", |
| 22 | + "-Aclippy::match_like_matches_macro", |
| 23 | + "-Aclippy::missing_safety_doc", |
| 24 | + "-Aclippy::module_inception", |
| 25 | + "-Aclippy::needless_arbitrary_self_type", |
| 26 | + "-Aclippy::needless_bool", |
| 27 | + "-Aclippy::needless_return", |
| 28 | + "-Aclippy::new_ret_no_self", |
| 29 | + "-Aclippy::new_without_default", |
| 30 | + "-Aclippy::redundant_clone", |
| 31 | + "-Aclippy::too_many_arguments", |
| 32 | + "-Aclippy::type_complexity", |
| 33 | + "-Aclippy::unnecessary_lazy_evaluations", |
| 34 | + "-Aclippy::useless_conversion", |
| 35 | + "-Aclippy::needless_borrow", |
| 36 | + "-Aclippy::unnecessary_filter_map", |
| 37 | +] |
0 commit comments