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 {
258258 llvm_util:: print_version ( ) ;
259259 }
260260
261- fn diagnostics ( & self ) -> & [ ( & ' static str , & ' static str ) ] {
262- & error_codes:: DIAGNOSTICS
263- }
264-
265261 fn target_features ( & self , sess : & Session ) -> Vec < Symbol > {
266262 target_features ( sess)
267263 }
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ pub trait CodegenBackend {
2525 fn target_features ( & self , _sess : & Session ) -> Vec < Symbol > { vec ! [ ] }
2626 fn print_passes ( & self ) { }
2727 fn print_version ( & self ) { }
28- fn diagnostics ( & self ) -> & [ ( & ' static str , & ' static str ) ] { & [ ] }
2928
3029 fn metadata_loader ( & self ) -> Box < dyn MetadataLoader + Sync > ;
3130 fn provide ( & self , _providers : & mut Providers < ' _ > ) ;
You can’t perform that action at this time.
0 commit comments