Skip to content

Commit 069aa30

Browse files
author
Jonathan Turner
committed
Add in test for E0090
1 parent 5ead973 commit 069aa30

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/test/compile-fail/E0090.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
fn foo<'a: 'b, 'b: 'a>() {}
2+
fn main() {
3+
foo::<'static>();//~ ERROR E0090
4+
//~^ too few lifetime parameters
5+
}

0 commit comments

Comments
 (0)