]> git.proxmox.com Git - rustc.git/blame - src/test/ui/regions/regions-assoc-type-static-bound-in-trait-not-met.stderr
New upstream version 1.59.0+dfsg1
[rustc.git] / src / test / ui / regions / regions-assoc-type-static-bound-in-trait-not-met.stderr
CommitLineData
29967ef6 1error[E0477]: the type `&'a i32` does not fulfill the required lifetime
a2a8927a 2 --> $DIR/regions-assoc-type-static-bound-in-trait-not-met.rs:10:18
b7449926 3 |
29967ef6 4LL | type Value = &'a i32;
a2a8927a 5 | ^^^^^^^
b7449926 6 |
94222f64
XL
7note: 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 |
10LL | type Value: 'static;
11 | ^^^^^^^
b7449926
XL
12
13error: aborting due to previous error
14
29967ef6 15For more information about this error, try `rustc --explain E0477`.