From 90230e882d19cc65158453fe9c636827158b2bbd Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Sun, 16 May 2021 15:11:48 +0200 Subject: Tag Self in impls as a TypeAlias --- crates/ide/src/syntax_highlighting/test_data/highlighting.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ide/src/syntax_highlighting/test_data/highlighting.html') diff --git a/crates/ide/src/syntax_highlighting/test_data/highlighting.html b/crates/ide/src/syntax_highlighting/test_data/highlighting.html index 33bc6b0f3..0d325f3f3 100644 --- a/crates/ide/src/syntax_highlighting/test_data/highlighting.html +++ b/crates/ide/src/syntax_highlighting/test_data/highlighting.html @@ -66,11 +66,11 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd pub y: i32, } -trait Bar { +trait Bar where Self: { fn bar(&self) -> i32; } -impl Bar for Foo { +impl Bar for Foo where Self: { fn bar(&self) -> i32 { self.x } -- cgit v1.2.3