From 66d056a9bf0f7d486c2ed637c1e1a7b9ce0c3bbc Mon Sep 17 00:00:00 2001 From: Rune Tynan Date: Fri, 21 Jan 2022 13:19:18 -0500 Subject: [PATCH] Update test to include `self` case --- src/test/rustdoc-json/impls/blanket_with_local.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/rustdoc-json/impls/blanket_with_local.rs b/src/test/rustdoc-json/impls/blanket_with_local.rs index 963ea2fe5ae..e5f48820720 100644 --- a/src/test/rustdoc-json/impls/blanket_with_local.rs +++ b/src/test/rustdoc-json/impls/blanket_with_local.rs @@ -4,10 +4,12 @@ // @has blanket_with_local.json "$.index[*][?(@.name=='Load')]" pub trait Load { fn load() {} + fn write(self) {} } impl

Load for P { fn load() {} + fn write(self) {} } // @has - "$.index[*][?(@.name=='Wrapper')]"