2023-02-27 20:03:26 -06:00
|
|
|
error: async associated function in trait cannot be specialized
|
2023-03-28 15:52:56 -05:00
|
|
|
--> $DIR/dont-project-to-specializable-projection.rs:16:5
|
2023-02-21 12:27:17 -06:00
|
|
|
|
|
|
|
|
LL | default async fn foo(_: T) -> &'static str {
|
2023-02-27 20:03:26 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2023-02-21 12:27:17 -06:00
|
|
|
|
|
2023-02-27 20:03:26 -06:00
|
|
|
= note: specialization behaves in inconsistent and surprising ways with `#![feature(async_fn_in_trait)]`, and for now is disallowed
|
2023-02-21 12:27:17 -06:00
|
|
|
|
2023-05-01 00:29:36 -05:00
|
|
|
error: aborting due to previous error
|
2023-02-21 12:27:17 -06:00
|
|
|
|