rust/tests/ui/traits/new-solver/cycles/fixpoint-rerun-all-cycle-heads.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
344 B
Plaintext
Raw Normal View History

2023-09-14 09:21:54 -05:00
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
2023-09-14 09:21:54 -05:00