]> git.lizzy.rs Git - rust.git/blobdiff - library/core/src/ptr/metadata.rs
Rollup merge of #107086 - clubby789:bootstrap-lock-pid-linux, r=albertlarsan68
[rust.git] / library / core / src / ptr / metadata.rs
index caa10f1818b4d08e6c419fcc4d4b4c98efa267b9..2ea032d4affe052abb3898f2182ccccb241040b5 100644 (file)
@@ -50,6 +50,7 @@
 ///
 /// [`to_raw_parts`]: *const::to_raw_parts
 #[lang = "pointee_trait"]
+#[rustc_deny_explicit_impl]
 pub trait Pointee {
     /// The type for metadata in pointers and references to `Self`.
     #[lang = "metadata_type"]