Move some codegen-y methods from rustc_hir_analysis::collect -> rustc_codegen_ssa
This commit is contained in:
parent
b96d9e0e20
commit
a8a45100a0
8 changed files with 857 additions and 828 deletions
|
@ -192,3 +192,5 @@ codegen_ssa_archive_build_failure =
|
|||
|
||||
codegen_ssa_unknown_archive_kind =
|
||||
Don't know how to build archive of type: {$kind}
|
||||
|
||||
codegen_ssa_expected_used_symbol = expected `used`, `used(compiler)` or `used(linker)`
|
||||
|
|
|
@ -101,8 +101,6 @@ hir_analysis_extern_crate_not_idiomatic =
|
|||
`extern crate` is not idiomatic in the new edition
|
||||
.suggestion = convert it to a `{$msg_code}`
|
||||
|
||||
hir_analysis_expected_used_symbol = expected `used`, `used(compiler)` or `used(linker)`
|
||||
|
||||
hir_analysis_const_impl_for_non_const_trait =
|
||||
const `impl` for trait `{$trait_name}` which is not marked with `#[const_trait]`
|
||||
.suggestion = mark `{$trait_name}` as const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue