]>
Commit | Line | Data |
---|---|---|
b7449926 XL |
1 | error: unsatisfied lifetime constraints |
2 | --> $DIR/object-lifetime-default-elision.rs:81:5 | |
3 | | | |
4 | LL | fn load3<'a,'b>(ss: &'a SomeTrait) -> &'b SomeTrait { | |
5 | | -- -- lifetime `'b` defined here | |
6 | | | | |
7 | | lifetime `'a` defined here | |
8 | ... | |
9 | LL | ss | |
10 | | ^^ returning this value requires that `'a` must outlive `'b` | |
11 | ||
12 | error: aborting due to previous error | |
13 |