We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a59cf4e commit 1caa593Copy full SHA for 1caa593
src/librustc_codegen_llvm/back/write.rs
@@ -399,6 +399,9 @@ impl CodegenContext {
399
}
400
401
struct DiagnosticHandlers<'a> {
402
+ #[allow(dead_code)]
403
+ // This value is not actually dead, llcx has pointers to it and needs these pointers to be alive
404
+ // until Drop is executed on this object
405
inner: Box<(&'a CodegenContext, &'a Handler)>,
406
llcx: ContextRef,
407
0 commit comments