Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions library/alloc/src/io/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ impl Error {
/// originate from the OS itself. It is a shortcut for [`Error::new`][new]
/// with [`ErrorKind::Other`].
///
// FIXME(#74481): Hard-links required to link from `alloc` to `std` for incoherent method
/// [new]: struct.Error.html#method.new
///
/// # Examples
Expand Down Expand Up @@ -84,6 +85,7 @@ impl Error {
/// then this function will return [`Some`],
/// otherwise it will return [`None`].
///
// FIXME(#74481): Hard-links required to link from `alloc` to `std` for incoherent method
/// [new]: struct.Error.html#method.new
/// [other]: struct.Error.html#method.other
///
Expand Down Expand Up @@ -141,6 +143,7 @@ impl Error {
/// `Box<dyn Error + Sync + Send>::downcast` on the custom boxed error, returned by
/// [`Error::into_inner`][into_inner].
///
// FIXME(#74481): Hard-links required to link from `alloc` to `std` for incoherent method
/// [into_inner]: struct.Error.html#method.into_inner
///
/// # Examples
Expand Down
2 changes: 2 additions & 0 deletions library/core/src/io/cursor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
/// code, but use an in-memory buffer in our tests. We can do this with
/// `Cursor`:
///
// FIXME(#74481): Hard-links required to link from `core` to `std`
/// [bytes]: crate::slice "slice"
/// [`File`]: ../../std/fs/struct.File.html
/// [`Read`]: ../../std/io/trait.Read.html
Expand Down Expand Up @@ -80,6 +81,7 @@ impl<T> Cursor<T> {
/// is not empty. So writing to cursor starts with overwriting [`Vec`]
/// content, not with appending to it.
///
// FIXME(#74481): Hard-links required to link from `core` to `alloc`
/// [`Vec`]: ../../alloc/vec/struct.Vec.html
///
/// # Examples
Expand Down
6 changes: 6 additions & 0 deletions library/core/src/io/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ use crate::{error, fmt, result};
/// will generally use `io::Result` instead of shadowing the [prelude]'s import
/// of [`core::result::Result`][`Result`].
///
// FIXME(#74481): Hard-links required to link from `core` to `std`
/// [`std::io`]: ../../std/io/index.html
/// [`io::Error`]: Error
/// [`Result`]: crate::result::Result
Expand Down Expand Up @@ -76,6 +77,7 @@ pub type Result<T> = result::Result<T, Error>;
/// `Error` can be created with crafted error messages and a particular value of
/// [`ErrorKind`].
///
// FIXME(#74481): Hard-links required to link from `core` to `std`
/// [Read]: ../../std/io/trait.Read.html
/// [Write]: ../../std/io/trait.Write.html
/// [Seek]: ../../std/io/trait.Seek.html
Expand Down Expand Up @@ -171,6 +173,7 @@ pub struct SimpleMessage {
/// Contrary to [`Error::new`][new], this macro does not allocate and can be used in
/// `const` contexts.
///
// FIXME(#74481): Hard-links required to link from `core` to `alloc` for incoherent method
/// [new]: ../../alloc/io/struct.Error.html#method.new
///
/// # Example
Expand Down Expand Up @@ -286,6 +289,7 @@ impl Error {
/// [`from_raw_os_error`][from_raw_os_error], then this function will return [`Some`], otherwise
/// it will return [`None`].
///
// FIXME(#74481): Hard-links required to link from `core` to `std` for incoherent method
/// [last_os_error]: ../../std/io/struct.Error.html#method.last_os_error
/// [from_raw_os_error]: ../../std/io/struct.Error.html#method.from_raw_os_error
///
Expand Down Expand Up @@ -366,6 +370,7 @@ impl Error {
/// If this [`Error`] was constructed via [`new`][new] then this function will
/// return [`Some`], otherwise it will return [`None`].
///
// FIXME(#74481): Hard-links required to link from `core` to `std`
/// [new]: ../../alloc/io/struct.Error.html#method.new
///
/// # Examples
Expand Down Expand Up @@ -441,6 +446,7 @@ impl Error {
/// it will be a value inferred from the system's error encoding.
/// See [`last_os_error`][last_os_error] for more details.
///
// FIXME(#74481): Hard-links required to link from `core` to `std`
/// [last_os_error]: ../../std/io/struct.Error.html#method.last_os_error
///
/// # Examples
Expand Down
Loading