Add in test for E0090
This commit is contained in:
parent
5ead973173
commit
069aa30445
1 changed files with 5 additions and 0 deletions
5
src/test/compile-fail/E0090.rs
Normal file
5
src/test/compile-fail/E0090.rs
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
fn foo<'a: 'b, 'b: 'a>() {}
|
||||
fn main() {
|
||||
foo::<'static>();//~ ERROR E0090
|
||||
//~^ too few lifetime parameters
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue