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 @@ -31,18 +31,6 @@ pub(crate) enum PossibleFeature<'a> {
3131 None ,
3232}
3333
34- struct ExitCode ( Option < i32 > ) ;
35-
36- impl IntoDiagnosticArg for ExitCode {
37- fn into_diagnostic_arg ( self ) -> DiagArgValue {
38- let ExitCode ( exit_code) = self ;
39- match exit_code {
40- Some ( t) => t. into_diagnostic_arg ( ) ,
41- None => DiagArgValue :: Str ( Cow :: Borrowed ( "<signal>" ) ) ,
42- }
43- }
44- }
45-
4634#[ derive( Diagnostic ) ]
4735#[ diag( codegen_gcc_lto_not_supported) ]
4836pub ( crate ) struct LTONotSupported ;
@@ -80,12 +68,6 @@ pub(crate) struct CopyBitcode {
8068#[ note]
8169pub ( crate ) struct DynamicLinkingWithLTO ;
8270
83- #[ derive( Diagnostic ) ]
84- #[ diag( codegen_gcc_load_bitcode) ]
85- pub ( crate ) struct LoadBitcode {
86- name : String ,
87- }
88-
8971#[ derive( Diagnostic ) ]
9072#[ diag( codegen_gcc_lto_disallowed) ]
9173pub ( crate ) struct LtoDisallowed ;
You can’t perform that action at this time.
0 commit comments