Skip to content

Commit

Permalink
Update test to include self case
Browse files Browse the repository at this point in the history
  • Loading branch information
CraftSpider committed Jan 21, 2022
1 parent f4b4294 commit 66d056a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/rustdoc-json/impls/blanket_with_local.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
// @has blanket_with_local.json "$.index[*][?(@.name=='Load')]"
pub trait Load {
fn load() {}
fn write(self) {}
}

impl<P> Load for P {
fn load() {}
fn write(self) {}
}

// @has - "$.index[*][?(@.name=='Wrapper')]"
Expand Down

0 comments on commit 66d056a

Please sign in to comment.