Skip to content

A few rustdoc source view improvements - #9684

Closed
Seldaek wants to merge 3 commits into
rust-lang:masterfrom
Seldaek:highlightsrc
Closed

A few rustdoc source view improvements#9684
Seldaek wants to merge 3 commits into
rust-lang:masterfrom
Seldaek:highlightsrc

Conversation

@Seldaek

Copy link
Copy Markdown
Contributor

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seeing how this kinda exists for aesthetic pleasure, seems like we should collapse in the case linefrom == lineto

@alexcrichton

Copy link
Copy Markdown
Member

Rolling into #9691

bors added a commit that referenced this pull request Oct 3, 2013
This slurps in the commits from #9684 as well as closing #9539.
flip1995 pushed a commit to flip1995/rust that referenced this pull request Oct 23, 2022
`ref_option_ref` do not lint when inner reference is mutable
changelog: FP: [`ref_option_ref`]: No longer lints if the inner reference is mutable
fixrust-lang/rust-clippy#9682
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
9684: Complete editable private items r=jonas-schievink a=jonas-schievink
This checks if a private item's location is editable (local source root), and completes them anyways if that's the case.
In order to test this, the `new_source_root` fixture command has been changed to take a `local` or `library` value, and to apply to all *following* files instead of the preceding ones (which would be hard to understand).
bors r+
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@Seldaek@alexcrichton