]> git.proxmox.com Git - rustc.git/blame - src/test/ui/nll/where_clauses_in_functions.stderr
New upstream version 1.31.0~beta.4+dfsg1
[rustc.git] / src / test / ui / nll / where_clauses_in_functions.stderr
CommitLineData
b7449926
XL
1error: unsatisfied lifetime constraints
2 --> $DIR/where_clauses_in_functions.rs:23:5
3 |
4LL | fn bar<'a, 'b>(x: &'a u32, y: &'b u32) -> (&'a u32, &'b u32) {
5 | -- -- lifetime `'b` defined here
6 | |
7 | lifetime `'a` defined here
8LL | foo(x, y)
0bf4aa26 9 | ^^^^^^^^^ function was supposed to return data with lifetime `'b` but it is returning data with lifetime `'a`
b7449926
XL
10
11error: aborting due to previous error
12