-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of #128693 - notriddle:notriddle/impl-disambiguator-2024…
…, r=GuillaumeGomez rustdoc-search: account for numeric disambiguators on impls Fixes #128676
- Loading branch information
Showing
3 changed files
with
52 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,19 @@ | ||
pub fn tadam() {} | ||
pub struct MultiImplBlockStruct; | ||
|
||
impl MultiImplBlockStruct { | ||
pub fn first_fn() {} | ||
} | ||
|
||
impl MultiImplBlockStruct { | ||
pub fn second_fn(self) -> bool { true } | ||
} | ||
|
||
pub trait MultiImplBlockTrait { | ||
fn first_fn(); | ||
fn second_fn(self) -> u32; | ||
} | ||
|
||
impl MultiImplBlockTrait for MultiImplBlockStruct { | ||
fn first_fn() {} | ||
fn second_fn(self) -> u32 { 1 } | ||
} |