1 error[E0597]: `x` does not live long enough
2 --> $DIR/assoc-ty-wf-used-to-get-assoc-ty.rs:24:31
5 | - binding `x` declared here
6 LL | let _: &'static u8 = test(&x, &&3);
9 | | borrowed value does not live long enough
10 | 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`.