Add in test for E0090

This commit is contained in:
Jonathan Turner 2017-01-06 10:05:55 +11:00
parent 5ead973173
commit 069aa30445

View file

@ -0,0 +1,5 @@
fn foo<'a: 'b, 'b: 'a>() {}
fn main() {
foo::<'static>();//~ ERROR E0090
//~^ too few lifetime parameters
}