Skip to content

Commit

Permalink
Update name of type alias impl trait feature in nightly
Browse files Browse the repository at this point in the history
    error[E0658]: `impl Trait` in type aliases is unstable
        --> tests/test.rs:1297:22
         |
    1297 |         type Assoc = impl Sized;
         |                      ^^^^^^^^^^
         |
         = note: see issue #63063 <rust-lang/rust#63063> for more information
         = help: add `#![feature(min_type_alias_impl_trait)]` to the crate attributes to enable

    warning: the feature `type_alias_impl_trait` is incomplete and may not be safe to use and/or cause compiler crashes
     --> tests/test.rs:3:33
      |
    3 |     feature(min_specialization, type_alias_impl_trait)
      |                                 ^^^^^^^^^^^^^^^^^^^^^
      |
      = note: `#[warn(incomplete_features)]` on by default
      = note: see issue #63063 <rust-lang/rust#63063> for more information
  • Loading branch information
dtolnay committed Mar 17, 2021
1 parent 25e8547 commit 9f2acfc
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, type_alias_impl_trait)
feature(min_specialization, min_type_alias_impl_trait)
)]
#![allow(
clippy::let_underscore_drop,
Expand Down

0 comments on commit 9f2acfc

Please sign in to comment.