Add warn(unreachable_pub)
to rustc_codegen_llvm
.
This commit is contained in:
parent
0544d3a952
commit
61627438eb
31 changed files with 206 additions and 184 deletions
|
@ -214,13 +214,13 @@ pub(crate) struct CopyBitcode {
|
|||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(codegen_llvm_unknown_debuginfo_compression)]
|
||||
pub struct UnknownCompression {
|
||||
pub(crate) struct UnknownCompression {
|
||||
pub algorithm: &'static str,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(codegen_llvm_mismatch_data_layout)]
|
||||
pub struct MismatchedDataLayout<'a> {
|
||||
pub(crate) struct MismatchedDataLayout<'a> {
|
||||
pub rustc_target: &'a str,
|
||||
pub rustc_layout: &'a str,
|
||||
pub llvm_target: &'a str,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue