blob: 5ce6f54e5f9ad7ca96b558a0f4b78f7238c85a58 [file] [log] [blame]
error: item does not constrain `ReturnType::{opaque#0}`
--> $DIR/issue-109054.rs:14:8
|
LL | fn deref(&self) -> &Self::Target {
| ^^^^^
|
= note: consider removing `#[define_opaque]` or adding an empty `#[define_opaque()]`
note: this opaque type is supposed to be constrained
--> $DIR/issue-109054.rs:7:23
|
LL | type ReturnType<'a> = impl std::future::Future<Output = u32> + 'a;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 1 previous error