diff options
Diffstat (limited to 'crates/ra_ide/src/syntax_highlighting.rs')
-rw-r--r-- | crates/ra_ide/src/syntax_highlighting.rs | 9 |
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 | |||
308 | enum E<X> { | ||
309 | V(X) | ||
310 | } | ||
311 | |||
312 | impl<X> E<X> { | ||
313 | fn new<T>() -> E<T> {} | ||
314 | } | ||
306 | "# | 315 | "# |
307 | .trim(), | 316 | .trim(), |
308 | ); | 317 | ); |