Skip to content

Commit

Permalink
Feature min_type_alias_impl_trait renamed to type_alias_impl_trait
Browse files Browse the repository at this point in the history
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 <rust-lang/rust#63063> for more information
         = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable
  • Loading branch information
dtolnay committed Jul 29, 2021
1 parent 1db22bb commit 9169e69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#![cfg_attr(
async_trait_nightly_testing,
feature(min_specialization, min_type_alias_impl_trait)
feature(min_specialization, type_alias_impl_trait)
)]
#![allow(
clippy::let_underscore_drop,
Expand Down

0 comments on commit 9169e69

Please sign in to comment.