about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src
diff options
context:
space:
mode:
authorThe Miri Cronjob Bot <miri@cron.bot>2024-03-31 05:40:36 +0000
committerThe Miri Cronjob Bot <miri@cron.bot>2024-03-31 05:40:36 +0000
commiteb8e8c06b6c6ab90b6ecbed1ac3820304c53ef01 (patch)
tree70ea36b7fd5f777449cc0622edc1f960490a2747 /compiler/rustc_data_structures/src
parent2dd824789c34d059ad787fc65ad15ffc668c895e (diff)
parent5baf1e13f568b61e121953bf6a3d09faee7dd446 (diff)
downloadrust-eb8e8c06b6c6ab90b6ecbed1ac3820304c53ef01.tar.gz
rust-eb8e8c06b6c6ab90b6ecbed1ac3820304c53ef01.zip
Merge from rustc
Diffstat (limited to 'compiler/rustc_data_structures/src')
-rw-r--r--compiler/rustc_data_structures/src/tagged_ptr/copy.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_data_structures/src/tagged_ptr/copy.rs b/compiler/rustc_data_structures/src/tagged_ptr/copy.rs
index ff4208def31..8b9e834b60b 100644
--- a/compiler/rustc_data_structures/src/tagged_ptr/copy.rs
+++ b/compiler/rustc_data_structures/src/tagged_ptr/copy.rs
@@ -243,6 +243,7 @@ where
     T: Tag,
 {
     #[inline]
+    #[allow(ambiguous_wide_pointer_comparisons)]
     fn eq(&self, other: &Self) -> bool {
         self.packed == other.packed
     }