summaryrefslogtreecommitdiffstats
path: root/tests/ui/traits/next-solver/cycles/fixpoint-rerun-all-cycle-heads.stderr
blob: 7b3075f4ff35a54d4e35aff5164fcc94048d9bd6 (plain)
1
2
3
4
5
6
7
8
9
10
error: lifetime may not live long enough
  --> $DIR/fixpoint-rerun-all-cycle-heads.rs:47:5
   |
LL | fn check<'a, T: ?Sized>() {
   |          -- lifetime `'a` defined here
LL |     impls_trait::<'a, 'static, A<T>>();
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ requires that `'a` must outlive `'static`

error: aborting due to 1 previous error