Skip to content

Commit

Permalink
Add has tests for blanket_with_local trait methods
Browse files Browse the repository at this point in the history
  • Loading branch information
CraftSpider committed Jan 23, 2022
1 parent 66d056a commit 9220631
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
Expand Up @@ -3,7 +3,9 @@

// @has blanket_with_local.json "$.index[*][?(@.name=='Load')]"
pub trait Load {
// @has - "$.index[*][?(@.name=='load')]"
fn load() {}
// @has - "$.index[*][?(@.name=='write')]"
fn write(self) {}
}

Expand Down

0 comments on commit 9220631

Please sign in to comment.