File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
compiler/rustc_codegen_gcc/src Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -32,18 +32,6 @@ pub(crate) enum PossibleFeature<'a> {
3232 None ,
3333}
3434
35- struct ExitCode ( Option < i32 > ) ;
36-
37- impl IntoDiagnosticArg for ExitCode {
38- fn into_diagnostic_arg ( self ) -> DiagnosticArgValue {
39- let ExitCode ( exit_code) = self ;
40- match exit_code {
41- Some ( t) => t. into_diagnostic_arg ( ) ,
42- None => DiagnosticArgValue :: Str ( Cow :: Borrowed ( "<signal>" ) ) ,
43- }
44- }
45- }
46-
4735#[ derive( Diagnostic ) ]
4836#[ diag( codegen_gcc_lto_not_supported) ]
4937pub ( crate ) struct LTONotSupported ;
@@ -81,12 +69,6 @@ pub(crate) struct CopyBitcode {
8169#[ note]
8270pub ( crate ) struct DynamicLinkingWithLTO ;
8371
84- #[ derive( Diagnostic ) ]
85- #[ diag( codegen_gcc_load_bitcode) ]
86- pub ( crate ) struct LoadBitcode {
87- name : String ,
88- }
89-
9072#[ derive( Diagnostic ) ]
9173#[ diag( codegen_gcc_lto_disallowed) ]
9274pub ( crate ) struct LtoDisallowed ;
You can’t perform that action at this time.
0 commit comments