dtolnay / async-trait

Type erasure for async trait methods
Apache License 2.0
1.84k stars 85 forks source link

Feature min_type_alias_impl_trait renamed to type_alias_impl_trait #172

Closed dtolnay closed 3 years ago

dtolnay commented 3 years ago

As of nightly-2021-07-29:

error[E0557]: feature has been removed
 --> tests/test.rs:3:33
  |
3 |     feature(min_specialization, min_type_alias_impl_trait)
  |                                 ^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed
  |
  = note: removed in favor of full type_alias_impl_trait

error[E0658]: `impl Trait` in type aliases is unstable
    --> tests/test.rs:1299:22
     |
1299 |         type Assoc = impl Sized;
     |                      ^^^^^^^^^^
     |
     = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
     = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable