]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_data_structures/src/tagged_ptr.rs
fix most compiler/ doctests
[rust.git] / compiler / rustc_data_structures / src / tagged_ptr.rs
index 324a8624dd076a2ac213e4c68f18c8402cb5f8bc..651bc556c9853608d50798b7c894fce88204ee86 100644 (file)
@@ -45,7 +45,8 @@ pub unsafe trait Pointer: Deref {
     /// case you'll need to manually figure out what the right type to pass to
     /// align_of is.
     ///
-    /// ```rust
+    /// ```ignore UNSOLVED (what to do about the Self)
+    /// # use std::ops::Deref;
     /// std::mem::align_of::<<Self as Deref>::Target>().trailing_zeros() as usize;
     /// ```
     const BITS: usize;