Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
10
tests/ui/lifetimes/re-empty-in-error.rs
Normal file
10
tests/ui/lifetimes/re-empty-in-error.rs
Normal file
|
@ -0,0 +1,10 @@
|
|||
// We didn't have a single test mentioning
|
||||
// `ReEmpty` and this test changes that.
|
||||
fn foo<'a>(_a: &'a u32) where for<'b> &'b (): 'a {
|
||||
}
|
||||
|
||||
fn main() {
|
||||
foo(&10);
|
||||
//~^ ERROR higher-ranked lifetime error
|
||||
//~| NOTE could not prove
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue