1 error[E0658]: `impl Trait` in type aliases is unstable
2 --> $DIR/feature-gate-type_alias_impl_trait.rs:3:12
4 LL | type Foo = impl Debug;
7 = note: for more information, see https://github.com/rust-lang/rust/issues/63063
8 = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable
10 error[E0658]: `impl Trait` in type aliases is unstable
11 --> $DIR/feature-gate-type_alias_impl_trait.rs:11:16
13 LL | type Baa = impl Debug;
16 = note: for more information, see https://github.com/rust-lang/rust/issues/63063
17 = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable
19 error[E0658]: associated type defaults are unstable
20 --> $DIR/feature-gate-type_alias_impl_trait.rs:18:5
22 LL | type Assoc = impl Debug;
23 | ^^^^^^^^^^^^^^^^^^^^^^^^
25 = note: for more information, see https://github.com/rust-lang/rust/issues/29661
26 = help: add `#![feature(associated_type_defaults)]` to the crate attributes to enable
28 error[E0658]: `impl Trait` in type aliases is unstable
29 --> $DIR/feature-gate-type_alias_impl_trait.rs:18:18
31 LL | type Assoc = impl Debug;
34 = note: for more information, see https://github.com/rust-lang/rust/issues/63063
35 = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable
37 error[E0658]: `impl Trait` in type aliases is unstable
38 --> $DIR/feature-gate-type_alias_impl_trait.rs:24:24
40 LL | type NestedFree = (Vec<impl Debug>, impl Debug, impl Iterator<Item = impl Debug>);
43 = note: for more information, see https://github.com/rust-lang/rust/issues/63063
44 = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable
46 error[E0658]: `impl Trait` in type aliases is unstable
47 --> $DIR/feature-gate-type_alias_impl_trait.rs:24:37
49 LL | type NestedFree = (Vec<impl Debug>, impl Debug, impl Iterator<Item = impl Debug>);
52 = note: for more information, see https://github.com/rust-lang/rust/issues/63063
53 = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable
55 error[E0658]: `impl Trait` in type aliases is unstable
56 --> $DIR/feature-gate-type_alias_impl_trait.rs:24:49
58 LL | type NestedFree = (Vec<impl Debug>, impl Debug, impl Iterator<Item = impl Debug>);
59 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
61 = note: for more information, see https://github.com/rust-lang/rust/issues/63063
62 = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable
64 error[E0658]: `impl Trait` in type aliases is unstable
65 --> $DIR/feature-gate-type_alias_impl_trait.rs:24:70
67 LL | type NestedFree = (Vec<impl Debug>, impl Debug, impl Iterator<Item = impl Debug>);
70 = note: for more information, see https://github.com/rust-lang/rust/issues/63063
71 = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable
73 error[E0658]: `impl Trait` in type aliases is unstable
74 --> $DIR/feature-gate-type_alias_impl_trait.rs:34:21
76 LL | type Baa = (Vec<impl Debug>, impl Debug, impl Iterator<Item = impl Debug>);
79 = note: for more information, see https://github.com/rust-lang/rust/issues/63063
80 = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable
82 error[E0658]: `impl Trait` in type aliases is unstable
83 --> $DIR/feature-gate-type_alias_impl_trait.rs:34:34
85 LL | type Baa = (Vec<impl Debug>, impl Debug, impl Iterator<Item = impl Debug>);
88 = note: for more information, see https://github.com/rust-lang/rust/issues/63063
89 = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable
91 error[E0658]: `impl Trait` in type aliases is unstable
92 --> $DIR/feature-gate-type_alias_impl_trait.rs:34:46
94 LL | type Baa = (Vec<impl Debug>, impl Debug, impl Iterator<Item = impl Debug>);
95 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
97 = note: for more information, see https://github.com/rust-lang/rust/issues/63063
98 = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable
100 error[E0658]: `impl Trait` in type aliases is unstable
101 --> $DIR/feature-gate-type_alias_impl_trait.rs:34:67
103 LL | type Baa = (Vec<impl Debug>, impl Debug, impl Iterator<Item = impl Debug>);
106 = note: for more information, see https://github.com/rust-lang/rust/issues/63063
107 = help: add `#![feature(type_alias_impl_trait)]` to the crate attributes to enable
109 error[E0562]: `impl Trait` not allowed outside of function and inherent method return types
110 --> $DIR/feature-gate-type_alias_impl_trait.rs:18:18
112 LL | type Assoc = impl Debug;
115 error[E0562]: `impl Trait` not allowed outside of function and inherent method return types
116 --> $DIR/feature-gate-type_alias_impl_trait.rs:24:24
118 LL | type NestedFree = (Vec<impl Debug>, impl Debug, impl Iterator<Item = impl Debug>);
121 error[E0562]: `impl Trait` not allowed outside of function and inherent method return types
122 --> $DIR/feature-gate-type_alias_impl_trait.rs:24:37
124 LL | type NestedFree = (Vec<impl Debug>, impl Debug, impl Iterator<Item = impl Debug>);
127 error[E0562]: `impl Trait` not allowed outside of function and inherent method return types
128 --> $DIR/feature-gate-type_alias_impl_trait.rs:24:49
130 LL | type NestedFree = (Vec<impl Debug>, impl Debug, impl Iterator<Item = impl Debug>);
131 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
133 error[E0562]: `impl Trait` not allowed outside of function and inherent method return types
134 --> $DIR/feature-gate-type_alias_impl_trait.rs:34:21
136 LL | type Baa = (Vec<impl Debug>, impl Debug, impl Iterator<Item = impl Debug>);
139 error[E0562]: `impl Trait` not allowed outside of function and inherent method return types
140 --> $DIR/feature-gate-type_alias_impl_trait.rs:34:34
142 LL | type Baa = (Vec<impl Debug>, impl Debug, impl Iterator<Item = impl Debug>);
145 error[E0562]: `impl Trait` not allowed outside of function and inherent method return types
146 --> $DIR/feature-gate-type_alias_impl_trait.rs:34:46
148 LL | type Baa = (Vec<impl Debug>, impl Debug, impl Iterator<Item = impl Debug>);
149 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
151 error: aborting due to 19 previous errors
153 Some errors have detailed explanations: E0562, E0658.
154 For more information about an error, try `rustc --explain E0562`.