Get the right analyzer for impls

This commit is contained in:
Aleksey Kladov 2019-12-07 20:05:08 +01:00
parent 7d2080a031
commit f4f8b81474
4 changed files with 23 additions and 2 deletions

View file

@ -255,6 +255,7 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd
.parameter { color: #94BFF3; }
.builtin { color: #DD6718; }
.text { color: #DCDCCC; }
.type { color: #7CB8BB; }
.attribute { color: #94BFF3; }
.literal { color: #BFEBBF; }
.macro { color: #94BFF3; }
@ -303,6 +304,14 @@ fn main() {
y;
}
enum E<X> {
V(X)
}
impl<X> E<X> {
fn new<T>() -> E<T> {}
}
"#
.trim(),
);