]> git.lizzy.rs Git - rust.git/blob - src/test/ui/regions/regions-assoc-type-static-bound-in-trait-not-met.stderr
Rollup merge of #93112 - pietroalbini:pa-cve-2022-21658-nightly, r=pietroalbini
[rust.git] / src / test / ui / regions / regions-assoc-type-static-bound-in-trait-not-met.stderr
1 error[E0477]: the type `&'a i32` does not fulfill the required lifetime
2   --> $DIR/regions-assoc-type-static-bound-in-trait-not-met.rs:10:18
3    |
4 LL |     type Value = &'a i32;
5    |                  ^^^^^^^
6    |
7 note: type must satisfy the static lifetime as required by this binding
8   --> $DIR/regions-assoc-type-static-bound-in-trait-not-met.rs:5:17
9    |
10 LL |     type Value: 'static;
11    |                 ^^^^^^^
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0477`.