|
| 1 | +error[E0658]: use of unstable library feature `type_alias_impl_trait`: `type_alias_impl_trait` has open design concerns |
| 2 | + --> $DIR/feature-gate-type_alias_impl_trait.rs:6:3 |
| 3 | + | |
| 4 | +LL | #[define_opaque(Foo)] |
| 5 | + | ^^^^^^^^^^^^^ |
| 6 | + | |
| 7 | + = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information |
| 8 | + = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable |
| 9 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 10 | + |
| 11 | +error[E0658]: use of unstable library feature `type_alias_impl_trait`: `type_alias_impl_trait` has open design concerns |
| 12 | + --> $DIR/feature-gate-type_alias_impl_trait.rs:13:3 |
| 13 | + | |
| 14 | +LL | #[define_opaque(Foo2)] |
| 15 | + | ^^^^^^^^^^^^^ |
| 16 | + | |
| 17 | + = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information |
| 18 | + = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable |
| 19 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 20 | + |
| 21 | +error[E0658]: use of unstable library feature `type_alias_impl_trait`: `type_alias_impl_trait` has open design concerns |
| 22 | + --> $DIR/feature-gate-type_alias_impl_trait.rs:20:3 |
| 23 | + | |
| 24 | +LL | #[define_opaque(Foo3)] |
| 25 | + | ^^^^^^^^^^^^^ |
| 26 | + | |
| 27 | + = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information |
| 28 | + = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable |
| 29 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 30 | + |
| 31 | +error[E0658]: use of unstable library feature `type_alias_impl_trait`: `type_alias_impl_trait` has open design concerns |
| 32 | + --> $DIR/feature-gate-type_alias_impl_trait.rs:24:3 |
| 33 | + | |
| 34 | +LL | #[define_opaque(Foo3)] |
| 35 | + | ^^^^^^^^^^^^^ |
| 36 | + | |
| 37 | + = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information |
| 38 | + = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable |
| 39 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 40 | + |
| 41 | +error[E0658]: use of unstable library feature `type_alias_impl_trait`: `type_alias_impl_trait` has open design concerns |
| 42 | + --> $DIR/feature-gate-type_alias_impl_trait.rs:31:3 |
| 43 | + | |
| 44 | +LL | #[define_opaque(Foo4)] |
| 45 | + | ^^^^^^^^^^^^^ |
| 46 | + | |
| 47 | + = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information |
| 48 | + = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable |
| 49 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 50 | + |
| 51 | +error[E0658]: `impl Trait` in type aliases is unstable |
| 52 | + --> $DIR/feature-gate-type_alias_impl_trait.rs:3:12 |
| 53 | + | |
| 54 | +LL | type Foo = impl Debug; |
| 55 | + | ^^^^^^^^^^ |
| 56 | + | |
| 57 | + = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information |
| 58 | + = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable |
| 59 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 60 | + |
| 61 | +error[E0658]: `impl Trait` in type aliases is unstable |
| 62 | + --> $DIR/feature-gate-type_alias_impl_trait.rs:11:13 |
| 63 | + | |
| 64 | +LL | type Foo2 = impl Debug; |
| 65 | + | ^^^^^^^^^^ |
| 66 | + | |
| 67 | + = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information |
| 68 | + = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable |
| 69 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 70 | + |
| 71 | +error[E0658]: `impl Trait` in type aliases is unstable |
| 72 | + --> $DIR/feature-gate-type_alias_impl_trait.rs:18:13 |
| 73 | + | |
| 74 | +LL | type Foo3 = impl Debug; |
| 75 | + | ^^^^^^^^^^ |
| 76 | + | |
| 77 | + = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information |
| 78 | + = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable |
| 79 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 80 | + |
| 81 | +error[E0658]: `impl Trait` in type aliases is unstable |
| 82 | + --> $DIR/feature-gate-type_alias_impl_trait.rs:29:13 |
| 83 | + | |
| 84 | +LL | type Foo4 = impl Debug; |
| 85 | + | ^^^^^^^^^^ |
| 86 | + | |
| 87 | + = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information |
| 88 | + = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable |
| 89 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 90 | + |
| 91 | +error[E0658]: `impl Trait` in type aliases is unstable |
| 92 | + --> $DIR/feature-gate-type_alias_impl_trait.rs:37:16 |
| 93 | + | |
| 94 | +LL | type Foo = impl Debug; |
| 95 | + | ^^^^^^^^^^ |
| 96 | + | |
| 97 | + = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information |
| 98 | + = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable |
| 99 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 100 | + |
| 101 | +error: unconstrained opaque type |
| 102 | + --> $DIR/feature-gate-type_alias_impl_trait.rs:37:16 |
| 103 | + | |
| 104 | +LL | type Foo = impl Debug; |
| 105 | + | ^^^^^^^^^^ |
| 106 | + | |
| 107 | + = note: `Foo` must be used in combination with a concrete type within the same crate |
| 108 | + |
| 109 | +error: aborting due to 11 previous errors |
| 110 | + |
| 111 | +For more information about this error, try `rustc --explain E0658`. |
0 commit comments