rustc_codegen_llvm: deny(internal).

This commit is contained in:
Eduard-Mihai Burtescu
2019-06-12 16:06:35 +03:00
parent 87b6b86468
commit 4c98cb6f75
3 changed files with 8 additions and 11 deletions

View File

@@ -2257,11 +2257,7 @@ pub fn create_global_var_metadata(
/// given type.
///
/// Adds the created metadata nodes directly to the crate's IR.
pub fn create_vtable_metadata(
cx: &CodegenCx<'ll, 'tcx>,
ty: ty::Ty<'tcx>,
vtable: &'ll Value,
) {
pub fn create_vtable_metadata(cx: &CodegenCx<'ll, 'tcx>, ty: Ty<'tcx>, vtable: &'ll Value) {
if cx.dbg_cx.is_none() {
return;
}