aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide/src/syntax_highlighting.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-12-07 19:05:08 +0000
committerAleksey Kladov <[email protected]>2019-12-07 19:05:08 +0000
commitf4f8b8147426b0096d4b5126e487caaa13d13c27 (patch)
tree254fa877ac37b2cd535cb588034bb7bbccaa2ea2 /crates/ra_ide/src/syntax_highlighting.rs
parent7d2080a0311cab62388f416beeb360695dbc5ded (diff)
Get the right analyzer for impls
Diffstat (limited to 'crates/ra_ide/src/syntax_highlighting.rs')
-rw-r--r--crates/ra_ide/src/syntax_highlighting.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/crates/ra_ide/src/syntax_highlighting.rs b/crates/ra_ide/src/syntax_highlighting.rs
index e6a79541f..20eefeb57 100644
--- a/crates/ra_ide/src/syntax_highlighting.rs
+++ b/crates/ra_ide/src/syntax_highlighting.rs
@@ -255,6 +255,7 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd
255.parameter { color: #94BFF3; } 255.parameter { color: #94BFF3; }
256.builtin { color: #DD6718; } 256.builtin { color: #DD6718; }
257.text { color: #DCDCCC; } 257.text { color: #DCDCCC; }
258.type { color: #7CB8BB; }
258.attribute { color: #94BFF3; } 259.attribute { color: #94BFF3; }
259.literal { color: #BFEBBF; } 260.literal { color: #BFEBBF; }
260.macro { color: #94BFF3; } 261.macro { color: #94BFF3; }
@@ -303,6 +304,14 @@ fn main() {
303 304
304 y; 305 y;
305} 306}
307
308enum E<X> {
309 V(X)
310}
311
312impl<X> E<X> {
313 fn new<T>() -> E<T> {}
314}
306"# 315"#
307 .trim(), 316 .trim(),
308 ); 317 );