about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
authorUrgau <urgau@numericable.fr>2023-11-09 18:13:52 +0100
committerUrgau <urgau@numericable.fr>2023-12-06 09:03:48 +0100
commit5e1bfb538f195eeac02034c0779f42d34b0e869e (patch)
treede9a416338f458c5ac78407e93d2dfc1a592d135 /compiler
parent30c7b18d2541f25ae7dbf91769ebcaecf6921b5a (diff)
downloadrust-5e1bfb538f195eeac02034c0779f42d34b0e869e.tar.gz
rust-5e1bfb538f195eeac02034c0779f42d34b0e869e.zip
Adjust tests for newly added ambiguous_wide_pointer_comparisons lint
Diffstat (limited to 'compiler')
-rw-r--r--compiler/rustc_codegen_cranelift/example/mini_core.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/example/mini_core.rs b/compiler/rustc_codegen_cranelift/example/mini_core.rs
index 934e4b1786f..3607b7cd944 100644
--- a/compiler/rustc_codegen_cranelift/example/mini_core.rs
+++ b/compiler/rustc_codegen_cranelift/example/mini_core.rs
@@ -11,7 +11,7 @@
     thread_local
 )]
 #![no_core]
-#![allow(dead_code, internal_features)]
+#![allow(dead_code, internal_features, ambiguous_wide_pointer_comparisons)]
 
 #[lang = "sized"]
 pub trait Sized {}