Remove unused method CodegenBackend::diagnostics
This commit is contained in:
parent
cf858a8ac0
commit
41d329c10d
2 changed files with 0 additions and 5 deletions
|
@ -258,10 +258,6 @@ impl CodegenBackend for LlvmCodegenBackend {
|
||||||
llvm_util::print_version();
|
llvm_util::print_version();
|
||||||
}
|
}
|
||||||
|
|
||||||
fn diagnostics(&self) -> &[(&'static str, &'static str)] {
|
|
||||||
&error_codes::DIAGNOSTICS
|
|
||||||
}
|
|
||||||
|
|
||||||
fn target_features(&self, sess: &Session) -> Vec<Symbol> {
|
fn target_features(&self, sess: &Session) -> Vec<Symbol> {
|
||||||
target_features(sess)
|
target_features(sess)
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,7 +25,6 @@ pub trait CodegenBackend {
|
||||||
fn target_features(&self, _sess: &Session) -> Vec<Symbol> { vec![] }
|
fn target_features(&self, _sess: &Session) -> Vec<Symbol> { vec![] }
|
||||||
fn print_passes(&self) {}
|
fn print_passes(&self) {}
|
||||||
fn print_version(&self) {}
|
fn print_version(&self) {}
|
||||||
fn diagnostics(&self) -> &[(&'static str, &'static str)] { &[] }
|
|
||||||
|
|
||||||
fn metadata_loader(&self) -> Box<dyn MetadataLoader + Sync>;
|
fn metadata_loader(&self) -> Box<dyn MetadataLoader + Sync>;
|
||||||
fn provide(&self, _providers: &mut Providers<'_>);
|
fn provide(&self, _providers: &mut Providers<'_>);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue