File tree Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Expand file tree Collapse file tree 2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -258,10 +258,6 @@ impl CodegenBackend for LlvmCodegenBackend {
258
258
llvm_util:: print_version ( ) ;
259
259
}
260
260
261
- fn diagnostics ( & self ) -> & [ ( & ' static str , & ' static str ) ] {
262
- & error_codes:: DIAGNOSTICS
263
- }
264
-
265
261
fn target_features ( & self , sess : & Session ) -> Vec < Symbol > {
266
262
target_features ( sess)
267
263
}
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ pub trait CodegenBackend {
25
25
fn target_features ( & self , _sess : & Session ) -> Vec < Symbol > { vec ! [ ] }
26
26
fn print_passes ( & self ) { }
27
27
fn print_version ( & self ) { }
28
- fn diagnostics ( & self ) -> & [ ( & ' static str , & ' static str ) ] { & [ ] }
29
28
30
29
fn metadata_loader ( & self ) -> Box < dyn MetadataLoader + Sync > ;
31
30
fn provide ( & self , _providers : & mut Providers < ' _ > ) ;
You can’t perform that action at this time.
0 commit comments