extend NLL regions to include free region indices and add outlives

This commit is contained in:
Niko Matsakis 2017-10-30 04:51:10 -04:00
parent 7b30e8d668
commit cafbd99c38
7 changed files with 297 additions and 113 deletions

View file

@ -0,0 +1,5 @@
fn foo<'a, 'b>(x: &'a u32, y: &'b u32) -> &'b u32 {
&*x
}
fn main() { }