File tree 1 file changed +0
-18
lines changed
compiler/rustc_codegen_gcc/src
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> {
32
32
None ,
33
33
}
34
34
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
-
47
35
#[ derive( Diagnostic ) ]
48
36
#[ diag( codegen_gcc_lto_not_supported) ]
49
37
pub ( crate ) struct LTONotSupported ;
@@ -81,12 +69,6 @@ pub(crate) struct CopyBitcode {
81
69
#[ note]
82
70
pub ( crate ) struct DynamicLinkingWithLTO ;
83
71
84
- #[ derive( Diagnostic ) ]
85
- #[ diag( codegen_gcc_load_bitcode) ]
86
- pub ( crate ) struct LoadBitcode {
87
- name : String ,
88
- }
89
-
90
72
#[ derive( Diagnostic ) ]
91
73
#[ diag( codegen_gcc_lto_disallowed) ]
92
74
pub ( crate ) struct LtoDisallowed ;
You can’t perform that action at this time.
0 commit comments