Skip to content

Intrinsic docs don't render in rustdoc #19649

Closed

Description

@Gankra

This may be a duplicate, but can't find the original if it exists.

See http://doc.rust-lang.org/core/intrinsics/index.html for the problem. Most of the intrinsics are doc'd with stability markers, but none of that shows up. Docs also consequently don't show up in re-exports.

Activity

  1. lifthrasiir commented on Dec 9, 2014

    @lifthrasiir
    Contributor

    Uh, are you sure? The corresponding source code doesn't seem to have stability markers at all. Reexports would be a different story though.

  2. Gankra commented on Dec 9, 2014

    @Gankra
    ContributorAuthor

    The copy_memory ones do.

  3. lifthrasiir commented on Dec 9, 2014

    @lifthrasiir
    Contributor

    Ah, you are right. It seems that any extern fns (and not only extern "rust-intrinsics") with stability markers are missing them.

  4. tomjakubowski commented on Dec 20, 2014

    @tomjakubowski
    Contributor

    To clarify: functions declared inside an extern block are missing stability markers. Extern functions have them. That is:

    pub extern { #[deprecated] fn foo(); } // missing stability marker
    #[deprecated] pub extern fn foo() {} // has stability marker
  5. Eh2406 commented on Sep 6, 2017

    @Eh2406
    Contributor

    There is a FIXME related to this issue,
    https://github.com/rust-lang/rust/blob/master/src/libcore/ptr.rs#L30
    Now that the issue is closed can the FIXME be fix, or made more specific?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions