about summary refs log tree commit diff
path: root/tests/ui/specialization/min_specialization/specialize_with_generalize_lifetimes.stderr
blob: 04a41f0d9dd81922991023d3ec1779046b8165ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
error[E0477]: the type `&'a i32` does not fulfill the required lifetime
  --> $DIR/specialize_with_generalize_lifetimes.rs:20:1
   |
LL | impl<'a> Tr for &'a i32 {
   | ^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: type must satisfy the static lifetime

error[E0477]: the type `Wrapper<'a>` does not fulfill the required lifetime
  --> $DIR/specialize_with_generalize_lifetimes.rs:31:1
   |
LL | impl<'a> Tr for Wrapper<'a> {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: type must satisfy the static lifetime

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0477`.