Fix intra-doc link to raw pointer method
CC https://github.com/rust-lang/rust/pull/80181
This commit is contained in:
parent
642486c2b2
commit
21ceebf296
|
@ -111,6 +111,7 @@
|
|||
#![feature(extended_key_value_attributes)]
|
||||
#![feature(extern_types)]
|
||||
#![feature(fundamental)]
|
||||
#![cfg_attr(not(bootstrap), feature(intra_doc_pointers))]
|
||||
#![feature(intrinsics)]
|
||||
#![feature(lang_items)]
|
||||
#![feature(link_llvm_intrinsics)]
|
||||
|
|
|
@ -48,7 +48,7 @@ use crate::hash::{Hash, Hasher};
|
|||
/// A (possibly-wide) pointer can be put back together from its address and metadata
|
||||
/// with [`from_raw_parts`] or [`from_raw_parts_mut`].
|
||||
///
|
||||
/// [`to_raw_parts`]: <*const _>::to_raw_parts
|
||||
/// [`to_raw_parts`]: *const::to_raw_parts
|
||||
#[lang = "pointee_trait"]
|
||||
pub trait Pointee {
|
||||
/// The type for metadata in pointers and references to `Self`.
|
||||
|
|
|
@ -276,6 +276,7 @@
|
|||
#![feature(int_error_matching)]
|
||||
#![feature(integer_atomics)]
|
||||
#![feature(into_future)]
|
||||
#![cfg_attr(not(bootstrap), feature(intra_doc_pointers))]
|
||||
#![feature(lang_items)]
|
||||
#![feature(link_args)]
|
||||
#![feature(linkage)]
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#![deny(broken_intra_doc_links)]
|
||||
#![feature(intra_doc_pointers)]
|
||||
|
||||
pub use std::*;
|
||||
|
|
Loading…
Reference in New Issue