@@ -34,7 +34,6 @@ pub struct Compiler {
34
34
pub ( crate ) input_path : Option < PathBuf > ,
35
35
pub ( crate ) output_dir : Option < PathBuf > ,
36
36
pub ( crate ) output_file : Option < PathBuf > ,
37
- pub ( crate ) crate_name : Option < String > ,
38
37
pub ( crate ) register_lints : Option < Box < dyn Fn ( & Session , & mut LintStore ) + Send + Sync > > ,
39
38
pub ( crate ) override_queries :
40
39
Option < fn ( & Session , & mut ty:: query:: Providers , & mut ty:: query:: Providers ) > ,
@@ -140,7 +139,6 @@ pub struct Config {
140
139
/// Set to capture stderr output during compiler execution
141
140
pub stderr : Option < Arc < Mutex < Vec < u8 > > > > ,
142
141
143
- pub crate_name : Option < String > ,
144
142
pub lint_caps : FxHashMap < lint:: LintId , lint:: Level > ,
145
143
146
144
/// This is a callback from the driver that is called when we're registering lints;
@@ -185,7 +183,6 @@ pub fn create_compiler_and_run<R>(config: Config, f: impl FnOnce(&Compiler) -> R
185
183
input_path : config. input_path ,
186
184
output_dir : config. output_dir ,
187
185
output_file : config. output_file ,
188
- crate_name : config. crate_name ,
189
186
register_lints : config. register_lints ,
190
187
override_queries : config. override_queries ,
191
188
} ;
0 commit comments