1 error[E0597]: `x` does not live long enough
2 --> $DIR/regions-infer-proc-static-upvar.rs:10:13
5 | - binding `x` declared here
7 | ^^ borrowed value does not live long enough
11 | |______- argument requires that `x` is borrowed for `'static`
13 | - `x` dropped here while still borrowed
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0597`.