Skip to content

Paths in macro visibilities are not linkified #83000

Closed

Description

@camelid

It looks like we don't use links in macro visibilities:

#![feature(decl_macro)]

pub mod inner1 {
    pub mod inner2 {
        pub mod inner3 {
            pub(in crate::inner1) macro foo() {}
        }
    }
}

image

@jyn514 thinks this might be a bug.

Originally posted by @camelid in #82815 (comment)

Activity

  1. added
    A-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
    A-decl-macros-2-0Area: Declarative macros 2.0 (#39412)
    A-visibilityArea: Visibility / privacy
    C-bugCategory: This is a bug.
    T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
    on Mar 11, 2021
  2. camelid commented on Mar 11, 2021

    @camelid
    MemberAuthor

    Note: I haven't tested macro_rules! (I think pub macro_rules! landed recently) nor proc macros.

  3. self-assigned this
    on Oct 29, 2024
  4. added a commit that references this issue on Nov 13, 2024
    3376eda
  5. added a commit that references this issue on Nov 14, 2024
    a646603
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-decl-macros-2-0Area: Declarative macros 2.0 (#39412)A-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)A-visibilityArea: Visibility / privacyC-bugCategory: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions