1 warning: not reporting region error due to nll
2 --> $DIR/wf-static-method.rs:27:9
7 warning: not reporting region error due to nll
8 --> $DIR/wf-static-method.rs:36:18
10 LL | let me = Self::make_me(); //~ ERROR lifetime bound not satisfied
13 warning: not reporting region error due to nll
14 --> $DIR/wf-static-method.rs:43:9
16 LL | u //~ ERROR E0312
19 warning: not reporting region error due to nll
20 --> $DIR/wf-static-method.rs:51:5
22 LL | <()>::static_evil(b) //~ ERROR cannot infer an appropriate lifetime
25 warning: not reporting region error due to nll
26 --> $DIR/wf-static-method.rs:55:5
28 LL | <IndirectEvil>::static_evil(b)
29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
31 error: unsatisfied lifetime constraints
32 --> $DIR/wf-static-method.rs:27:9
34 LL | impl<'a, 'b> Foo<'a, 'b, Evil<'a, 'b>> for () {
35 | -- -- lifetime `'b` defined here
37 | lifetime `'a` defined here
39 LL | u //~ ERROR E0312
40 | ^ return requires that `'b` must outlive `'a`
42 error: unsatisfied lifetime constraints
43 --> $DIR/wf-static-method.rs:43:9
45 LL | impl<'a, 'b> Evil<'a, 'b> {
46 | -- -- lifetime `'b` defined here
48 | lifetime `'a` defined here
49 LL | fn inherent_evil(u: &'b u32) -> &'a u32 {
50 LL | u //~ ERROR E0312
51 | ^ return requires that `'b` must outlive `'a`
53 error: aborting due to 2 previous errors