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