File tree 7 files changed +44
-4
lines changed
7 files changed +44
-4
lines changed Original file line number Diff line number Diff line change 9
9
// #![deny(missing_docs)]
10
10
#![ allow( clippy:: try_err) ]
11
11
// Disable some broken or unwanted clippy nightly lints
12
+ // Build without warnings on nightly 2021-01-17 and later and stable 1.51 and later
13
+ #![ allow( unknown_lints) ]
14
+ // Disable old lint warnings on nightly until 1.51 is stable
15
+ #![ allow( renamed_and_removed_lints) ]
16
+ // Use the old lint name to build without warnings on stable until 1.51 is stable
12
17
#![ allow( clippy:: unknown_clippy_lints) ]
13
- #![ allow( clippy:: from_iter_instead_of_collect) ]
14
- #![ allow( clippy:: unnecessary_wraps) ]
18
+ // The actual lints we want to disable
15
19
16
20
#[ macro_use]
17
21
extern crate serde;
Original file line number Diff line number Diff line change 37
37
//#![deny(missing_docs)]
38
38
#![ allow( clippy:: try_err) ]
39
39
// Disable some broken or unwanted clippy nightly lints
40
+ // Build without warnings on nightly 2021-01-17 and later and stable 1.51 and later
41
+ #![ allow( unknown_lints) ]
42
+ // Disable old lint warnings on nightly until 1.51 is stable
43
+ #![ allow( renamed_and_removed_lints) ]
44
+ // Use the old lint name to build without warnings on stable until 1.51 is stable
40
45
#![ allow( clippy:: unknown_clippy_lints) ]
46
+ // The actual lints we want to disable
41
47
#![ allow( clippy:: unnecessary_wraps) ]
42
48
43
49
mod block;
Original file line number Diff line number Diff line change 39
39
// https://github.com/tokio-rs/tracing/issues/553
40
40
#![ allow( clippy:: cognitive_complexity) ]
41
41
// Disable some broken or unwanted clippy nightly lints
42
+ // Build without warnings on nightly 2021-01-17 and later and stable 1.51 and later
43
+ #![ allow( unknown_lints) ]
44
+ // Disable old lint warnings on nightly until 1.51 is stable
45
+ #![ allow( renamed_and_removed_lints) ]
46
+ // Use the old lint name to build without warnings on stable until 1.51 is stable
42
47
#![ allow( clippy:: unknown_clippy_lints) ]
48
+ // The actual lints we want to disable
43
49
#![ allow( clippy:: unnecessary_wraps) ]
44
50
45
51
#[ macro_use]
Original file line number Diff line number Diff line change 3
3
#![ doc( html_logo_url = "https://www.zfnd.org/images/zebra-icon.png" ) ]
4
4
#![ doc( html_root_url = "https://doc.zebra.zfnd.org/zebra_script" ) ]
5
5
// Disable some broken or unwanted clippy nightly lints
6
+ // Build without warnings on nightly 2021-01-17 and later and stable 1.51 and later
7
+ #![ allow( unknown_lints) ]
8
+ // Disable old lint warnings on nightly until 1.51 is stable
9
+ #![ allow( renamed_and_removed_lints) ]
10
+ // Use the old lint name to build without warnings on stable until 1.51 is stable
6
11
#![ allow( clippy:: unknown_clippy_lints) ]
12
+ // The actual lints we want to disable
7
13
#![ allow( clippy:: unnecessary_wraps) ]
8
14
9
15
use displaydoc:: Display ;
Original file line number Diff line number Diff line change 6
6
#![ warn( missing_docs) ]
7
7
#![ allow( clippy:: try_err) ]
8
8
// Disable some broken or unwanted clippy nightly lints
9
+ // Build without warnings on nightly 2021-01-17 and later and stable 1.51 and later
10
+ #![ allow( unknown_lints) ]
11
+ // Disable old lint warnings on nightly until 1.51 is stable
12
+ #![ allow( renamed_and_removed_lints) ]
13
+ // Use the old lint name to build without warnings on stable until 1.51 is stable
9
14
#![ allow( clippy:: unknown_clippy_lints) ]
15
+ // The actual lints we want to disable
10
16
#![ allow( clippy:: field_reassign_with_default) ]
11
17
#![ allow( clippy:: unnecessary_wraps) ]
12
18
Original file line number Diff line number Diff line change 1
1
//! Miscellaneous test code for Zebra.
2
2
3
+ // Each lazy_static variable uses additional recursion
4
+ #![ recursion_limit = "256" ]
3
5
// Disable some broken or unwanted clippy nightly lints
6
+ // Build without warnings on nightly 2021-01-17 and later and stable 1.51 and later
7
+ #![ allow( unknown_lints) ]
8
+ // Disable old lint warnings on nightly until 1.51 is stable
9
+ #![ allow( renamed_and_removed_lints) ]
10
+ // Use the old lint name to build without warnings on stable until 1.51 is stable
4
11
#![ allow( clippy:: unknown_clippy_lints) ]
12
+ // The actual lints we want to disable
5
13
#![ allow( clippy:: from_iter_instead_of_collect) ]
6
- // Each lazy_static variable uses additional recursion
7
- #![ recursion_limit = "256" ]
8
14
9
15
use color_eyre:: section:: PanicMessage ;
10
16
use owo_colors:: OwoColorize ;
Original file line number Diff line number Diff line change 16
16
#![ allow( dead_code) ]
17
17
#![ allow( clippy:: try_err) ]
18
18
// Disable some broken or unwanted clippy nightly lints
19
+ // Build without warnings on nightly 2021-01-17 and later and stable 1.51 and later
20
+ #![ allow( unknown_lints) ]
21
+ // Disable old lint warnings on nightly until 1.51 is stable
22
+ #![ allow( renamed_and_removed_lints) ]
23
+ // Use the old lint name to build without warnings on stable until 1.51 is stable
19
24
#![ allow( clippy:: unknown_clippy_lints) ]
25
+ // The actual lints we want to disable
20
26
#![ allow( clippy:: field_reassign_with_default) ]
21
27
22
28
use color_eyre:: eyre:: Result ;
You can’t perform that action at this time.
0 commit comments