From f5f813409f607799b1e51505b5c05fdf5ce04427 Mon Sep 17 00:00:00 2001 From: bendn Date: Fri, 7 Mar 2025 22:14:50 +0700 Subject: [PATCH] fix clif tests --- compiler/rustc_codegen_cranelift/example/example.rs | 2 +- compiler/rustc_codegen_gcc/example/example.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/rustc_codegen_cranelift/example/example.rs b/compiler/rustc_codegen_cranelift/example/example.rs index 1ef2aa5dd8ea4..949ad4c22168f 100644 --- a/compiler/rustc_codegen_cranelift/example/example.rs +++ b/compiler/rustc_codegen_cranelift/example/example.rs @@ -1,6 +1,6 @@ #![feature(no_core, unboxed_closures)] #![no_core] -#![allow(dead_code)] +#![allow(dead_code, redundant_transmutation)] extern crate mini_core; diff --git a/compiler/rustc_codegen_gcc/example/example.rs b/compiler/rustc_codegen_gcc/example/example.rs index 03470b74d0a13..c4dbe7ed5779d 100644 --- a/compiler/rustc_codegen_gcc/example/example.rs +++ b/compiler/rustc_codegen_gcc/example/example.rs @@ -1,6 +1,6 @@ #![feature(no_core, unboxed_closures)] #![no_core] -#![allow(dead_code)] +#![allow(dead_code, redundant_transmutation)] extern crate mini_core;