File tree Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Expand file tree Collapse file tree 4 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 1+ //! Errors emitted by codegen_ssa
2+
3+ use rustc_macros:: SessionDiagnostic ;
4+
5+ #[ derive( SessionDiagnostic ) ]
6+ #[ diag( codegen_ssa:: missing_native_static_library) ]
7+ pub struct MissingNativeStaticLibrary < ' a > {
8+ pub library_name : & ' a str ,
9+ }
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ pub mod base;
4343pub mod common;
4444pub mod coverageinfo;
4545pub mod debuginfo;
46+ pub mod errors;
4647pub mod glue;
4748pub mod meth;
4849pub mod mir;
Original file line number Diff line number Diff line change 1+ codegen_ssa_missing_native_static_library = could not find native static library `{ $library_name } `, perhaps an -L flag is missing?
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ fluent_messages! {
6363 symbol_mangling => "../locales/en-US/symbol_mangling.ftl" ,
6464 trait_selection => "../locales/en-US/trait_selection.ftl" ,
6565 ty_utils => "../locales/en-US/ty_utils.ftl" ,
66+ codegen_ssa => "../locales/en-US/codegen_ssa.ftl" ,
6667}
6768
6869pub use fluent_generated:: { self as fluent, DEFAULT_LOCALE_RESOURCES } ;
You can’t perform that action at this time.
0 commit comments