File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 3
3
#![ cfg_attr( feature = "nightly" , doc( rust_logo) ) ]
4
4
#![ cfg_attr( feature = "nightly" , feature( rustdoc_internals) ) ]
5
5
#![ cfg_attr( feature = "nightly" , feature( step_trait) ) ]
6
+ #![ warn( unreachable_pub) ]
6
7
// tidy-alphabetical-end
7
8
8
9
use std:: fmt;
Original file line number Diff line number Diff line change 19
19
#![ feature( never_type) ]
20
20
#![ feature( rustdoc_internals) ]
21
21
#![ feature( stmt_expr_attributes) ]
22
+ #![ warn( unreachable_pub) ]
22
23
// tidy-alphabetical-end
23
24
24
25
pub mod util {
Original file line number Diff line number Diff line change 2
2
#![ cfg_attr( feature = "nightly" , allow( internal_features) ) ]
3
3
#![ cfg_attr( feature = "nightly" , feature( never_type) ) ]
4
4
#![ cfg_attr( feature = "nightly" , feature( rustc_attrs) ) ]
5
+ #![ warn( unreachable_pub) ]
5
6
// tidy-alphabetical-end
6
7
7
8
#[ cfg( feature = "nightly" ) ]
You can’t perform that action at this time.
0 commit comments