File tree Expand file tree Collapse file tree 8 files changed +13
-56
lines changed Expand file tree Collapse file tree 8 files changed +13
-56
lines changed Original file line number Diff line number Diff line change 2
2
//! [`stylish`] helpers for writing styles as ANSI escape codes.
3
3
4
4
#![ allow( uncommon_codepoints) ]
5
- #![ warn( missing_copy_implementations) ]
6
- #![ warn( missing_debug_implementations) ]
7
- #![ warn( missing_docs) ]
8
- #![ warn( trivial_casts) ]
9
- #![ warn( trivial_numeric_casts) ]
10
- #![ warn( unused_extern_crates) ]
11
- #![ warn( unused_import_braces) ]
12
- #![ warn( variant_size_differences) ]
13
5
#![ doc( test( attr( deny( warnings) ) ) ) ]
14
6
#![ cfg_attr( docsrs, feature( doc_cfg, doc_auto_cfg) ) ]
15
7
Original file line number Diff line number Diff line change 6
6
//! this crate directly.
7
7
8
8
#![ allow( uncommon_codepoints) ]
9
- #![ warn( missing_copy_implementations) ]
10
- #![ warn( missing_debug_implementations) ]
11
- #![ warn( missing_docs) ]
12
- #![ warn( trivial_casts) ]
13
- #![ warn( trivial_numeric_casts) ]
14
- #![ warn( unused_extern_crates) ]
15
- #![ warn( unused_import_braces) ]
16
- #![ warn( variant_size_differences) ]
17
9
#![ doc( test( attr( deny( warnings) ) ) ) ]
18
10
#![ cfg_attr( docsrs, feature( doc_cfg, doc_auto_cfg) ) ]
19
11
Original file line number Diff line number Diff line change 2
2
//! [`stylish`] helpers for writing styles as HTML elements.
3
3
4
4
#![ allow( uncommon_codepoints) ]
5
- #![ warn( missing_copy_implementations) ]
6
- #![ warn( missing_debug_implementations) ]
7
- #![ warn( missing_docs) ]
8
- #![ warn( trivial_casts) ]
9
- #![ warn( trivial_numeric_casts) ]
10
- #![ warn( unused_extern_crates) ]
11
- #![ warn( unused_import_braces) ]
12
- #![ warn( variant_size_differences) ]
5
+ #![ doc( test( attr( deny( warnings) ) ) ) ]
13
6
#![ cfg_attr( docsrs, feature( doc_cfg, doc_auto_cfg) ) ]
14
7
15
8
#[ cfg( doc) ]
Original file line number Diff line number Diff line change
1
+ warn = [
2
+ " missing_copy_implementations" ,
3
+ " missing_debug_implementations" ,
4
+ " missing_docs" ,
5
+ " trivial_casts" ,
6
+ " trivial_numeric_casts" ,
7
+ " unused_extern_crates" ,
8
+ " unused_import_braces" ,
9
+ " variant_size_differences" ,
10
+ " clippy::allow_attributes_without_reason" ,
11
+ ]
Original file line number Diff line number Diff line change 3
3
//! Do not depend on this crate directly.
4
4
5
5
#![ allow( uncommon_codepoints) ]
6
- #![ warn( missing_copy_implementations) ]
7
- #![ warn( missing_debug_implementations) ]
8
- #![ warn( missing_docs) ]
9
- #![ warn( trivial_casts) ]
10
- #![ warn( trivial_numeric_casts) ]
11
- #![ warn( unused_extern_crates) ]
12
- #![ warn( unused_import_braces) ]
13
- #![ warn( variant_size_differences) ]
14
6
#![ cfg_attr( stylish_proc_macro_expand, feature( proc_macro_expand) ) ]
15
7
16
8
use std:: collections:: HashMap ;
Original file line number Diff line number Diff line change 2
2
//! [`stylish`] helpers for discarding styles.
3
3
4
4
#![ allow( uncommon_codepoints) ]
5
- #![ warn( missing_copy_implementations) ]
6
- #![ warn( missing_debug_implementations) ]
7
- #![ warn( missing_docs) ]
8
- #![ warn( trivial_casts) ]
9
- #![ warn( trivial_numeric_casts) ]
10
- #![ warn( unused_extern_crates) ]
11
- #![ warn( unused_import_braces) ]
12
- #![ warn( variant_size_differences) ]
13
5
#![ doc( test( attr( deny( warnings) ) ) ) ]
14
6
#![ cfg_attr( docsrs, feature( doc_cfg, doc_auto_cfg) ) ]
15
7
Original file line number Diff line number Diff line change 1
1
#![ no_std]
2
2
#![ doc = include_str ! ( "../README.md" ) ]
3
- #![ warn( missing_copy_implementations) ]
4
- #![ warn( missing_debug_implementations) ]
5
- #![ warn( missing_docs) ]
6
- #![ warn( trivial_casts) ]
7
- #![ warn( trivial_numeric_casts) ]
8
- #![ warn( unused_extern_crates) ]
9
- #![ warn( unused_import_braces) ]
10
- #![ warn( variant_size_differences) ]
11
3
#![ doc( test( attr( deny( warnings) ) ) ) ]
12
4
#![ cfg_attr( docsrs, feature( doc_cfg, doc_auto_cfg) ) ]
13
5
Original file line number Diff line number Diff line change 4
4
//!
5
5
//! Do not depend on this crate directly.
6
6
7
- #![ warn( missing_copy_implementations) ]
8
- #![ warn( missing_debug_implementations) ]
9
- #![ warn( missing_docs) ]
10
- #![ warn( trivial_casts) ]
11
- #![ warn( trivial_numeric_casts) ]
12
- #![ warn( unused_extern_crates) ]
13
- #![ warn( unused_import_braces) ]
14
- #![ warn( variant_size_differences) ]
7
+ #![ doc( test( attr( deny( warnings) ) ) ) ]
15
8
#![ cfg_attr( docsrs, feature( doc_cfg, doc_auto_cfg) ) ]
16
9
17
10
#[ cfg( feature = "alloc" ) ]
You can’t perform that action at this time.
0 commit comments