File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ pub mod write;
171
171
pub mod zero_div_zero;
172
172
// end lints modules, do not remove this comment, it’s used in `update_lints`
173
173
174
- use crate :: utils:: conf:: Conf ;
174
+ pub use crate :: utils:: conf:: Conf ;
175
175
176
176
mod reexport {
177
177
crate use syntax:: ast:: { Name , NodeId } ;
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ macro_rules! define_Conf {
65
65
mod helpers {
66
66
use serde_derive:: Deserialize ;
67
67
/// Type used to store lint configuration.
68
- #[ derive( Deserialize ) ]
68
+ #[ derive( Default , Deserialize ) ]
69
69
#[ serde( rename_all="kebab-case" , deny_unknown_fields) ]
70
70
pub struct Conf {
71
71
$( #[ $doc] #[ serde( default =$rust_name_str) ] #[ serde( with=$rust_name_str) ]
You can’t perform that action at this time.
0 commit comments