68 |
// testing that Arc<()> is valid
|
69 |
#[allow(clippy::unit_cmp)]
|
70 |
#[test]
|
212 |
#[test]
|
213 |
#[allow(clippy::unit_cmp)]
|
214 |
fn value_macro() {
|
23 |
#[test]
|
24 |
#[allow(clippy::unit_cmp)]
|
25 |
fn response_derive_empty() {
|
326 |
#[allow(clippy::unit_cmp)]
|
327 |
#[test]
|
22 |
#[test]
|
23 |
#[cfg_attr(feature = "cargo-clippy", allow(unit_cmp))]
|
24 |
fn response_derive_empty() {
|
974 |
#[allow(clippy::unit_cmp)]
|
975 |
#[test]
|
996 |
#[allow(clippy::unit_cmp)]
|
997 |
#[test]
|
1025 |
#[test]
|
1026 |
#[allow(clippy::unit_cmp)] // this is more of a compilation test
|
1027 |
fn unit_key_encoding_tests() -> anyhow::Result<()> {
|
1033 |
#[test]
|
1034 |
#[allow(clippy::unit_cmp)] // this is more of a compilation test
|
1035 |
fn bool_key_encoding_tests() -> anyhow::Result<()> {
|
162 |
#[test]
|
163 |
#[allow(clippy::unit_cmp)]
|
164 |
fn deserialize_empty_works() {
|
30 |
#[allow(clippy::unit_arg)]
|
31 |
#[allow(clippy::unit_cmp)]
|
32 |
fn test_unit() {
|
97 |
#[test]
|
98 |
#[allow(clippy::unit_cmp)]
|
99 |
fn load_payload() {
|
546 |
#[allow(clippy::unit_cmp)]
|
547 |
#[test]
|
871 |
#[test]
|
872 |
#[allow(clippy::unit_cmp)]
|
873 |
fn zero_sized_type() {
|
14 |
#[test]
|
15 |
#[allow(clippy::unit_cmp)]
|
16 |
fn sink() {
|
50 |
#[cfg_attr(feature = "jitter", test)]
|
51 |
#[allow(clippy::unit_cmp)]
|
52 |
fn sink_with_jitter() {
|
121 |
#[cfg(test)]
|
122 |
#[allow(clippy::unit_cmp)]
|
123 |
mod tests {
|
57 |
#[test]
|
58 |
#[allow(clippy::unit_cmp)]
|
59 |
#[allow(clippy::let_unit_value)]
|
56 |
#[test]
|
57 |
#[allow(clippy::unit_cmp)]
|
58 |
#[allow(clippy::let_unit_value)]
|
340 |
#[ntex::test]
|
341 |
#[allow(clippy::unit_cmp)]
|
342 |
async fn on_disconnect() {
|
539 |
#[test]
|
540 |
#[allow(clippy::let_unit_value, clippy::unit_cmp)]
|
541 |
fn test_request_extract() {
|
108 |
#[ntex_macros::rt_test2]
|
109 |
#[allow(clippy::unit_cmp)]
|
110 |
async fn test_condition() {
|
158 |
#[test]
|
159 |
#[allow(clippy::unit_cmp)]
|
160 |
fn load_payload() {
|
249 |
#[test]
|
250 |
#[allow(clippy::unit_cmp)] // this is more of a compilation test
|
251 |
fn unit_key_encoding_tests() -> anyhow::Result<()> {
|
1167 |
#[cfg(test)]
|
1168 |
#[allow(clippy::unit_cmp)]
|
1169 |
mod test {
|
1167 |
#[cfg(test)]
|
1168 |
#[allow(clippy::unit_cmp)]
|
1169 |
mod test {
|
401 |
#[test]
|
402 |
#[allow(clippy::unit_cmp)]
|
403 |
fn array_view_i64_scalar() {
|
22 |
#[test]
|
23 |
#[cfg_attr(feature = "cargo-clippy", allow(unit_cmp))]
|
24 |
fn response_derive_empty() {
|
22 |
#[test]
|
23 |
#[cfg_attr(feature = "cargo-clippy", allow(unit_cmp))]
|
24 |
fn response_derive_empty() {
|
149 |
#[test]
|
150 |
#[allow(clippy::unit_cmp)]
|
151 |
fn unit_mergeable() {
|
808 |
#[allow(clippy::let_unit_value)]
|
809 |
#[allow(clippy::unit_cmp)]
|
810 |
#[test]
|
26 |
#[allow(clippy::unit_cmp)]
|
27 |
while (device = IOIteratorNext(iter)) == () && device > 0 {
|
27 |
#[allow(clippy::unit_cmp)]
|
28 |
while (device = IOIteratorNext(iter)) == () && device > 0 {
|
577 |
#[test]
|
578 |
#[allow(clippy::let_unit_value, clippy::unit_cmp)]
|
579 |
fn test_request_extract() {
|
2389 |
// when running under Miri.
|
2390 |
#[allow(clippy::unit_cmp)]
|
2391 |
{
|
2417 |
// when running under Miri.
|
2418 |
#[allow(clippy::unit_cmp)]
|
2419 |
{
|
3327 |
// running under Miri.
|
3328 |
#[allow(clippy::unit_cmp)]
|
3329 |
{
|
22 |
fn append_works() {
|
23 |
#![allow(clippy::unit_cmp)]
|
7 |
clippy::needless_pass_by_value,
|
8 |
clippy::unit_cmp,
|
9 |
clippy::unseparated_literal_suffix
|
7 |
#![warn(clippy::all, clippy::pedantic, clippy::nursery, rust_2018_idioms)]
|
8 |
#![allow(clippy::module_name_repetitions, clippy::shadow_unrelated, clippy::unit_cmp)]
|
9 |
#![forbid(unsafe_code)]
|
1 |
#![allow(clippy::unit_cmp)]
|
1 |
#![allow(clippy::unit_cmp)]
|
129 |
fn cons_macro() {
|
130 |
#![allow(clippy::unit_cmp)]
|
131 |
assert_eq!(cons!(), ());
|
155 |
fn cons_flatten() {
|
156 |
#![allow(clippy::unit_cmp)]
|
157 |
assert_eq!(().flatten(), ());
|
123 |
fn cons_macro() {
|
124 |
#![allow(clippy::unit_cmp)]
|
125 |
assert_eq!(cons!(), ());
|
149 |
fn cons_flatten() {
|
150 |
#![allow(clippy::unit_cmp)]
|
151 |
assert_eq!(().flatten(), ());
|
38 |
fn test_infallible_unwrap() {
|
39 |
#![allow(clippy::unit_cmp)]
|
87 |
#![allow(clippy::type_complexity)]
|
88 |
#![allow(clippy::unit_cmp)]
|
89 |
#![allow(clippy::upper_case_acronyms)]
|
1 |
#![allow(clippy::float_cmp, clippy::redundant_clone, clippy::unit_cmp)]
|
1 |
#![allow(clippy::unit_cmp, clippy::just_underscores_and_digits)]
|
80 |
#![allow(clippy::type_complexity)]
|
81 |
#![allow(clippy::unit_cmp)]
|
82 |
#![allow(clippy::upper_case_acronyms)]
|
79 |
#![allow(clippy::type_complexity)]
|
80 |
#![allow(clippy::unit_cmp)]
|
81 |
#![allow(clippy::upper_case_acronyms)]
|