1
1
error[E0658]: associated type bounds are unstable
2
- --> $DIR/feature-gate-associated_type_bounds.rs:12 :22
2
+ --> $DIR/feature-gate-associated_type_bounds.rs:15 :22
3
3
|
4
4
LL | type A: Iterator<Item: Copy>;
5
5
| ^^^^^^^^^^
@@ -8,7 +8,7 @@ LL | type A: Iterator<Item: Copy>;
8
8
= help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable
9
9
10
10
error[E0658]: associated type bounds are unstable
11
- --> $DIR/feature-gate-associated_type_bounds.rs:15 :22
11
+ --> $DIR/feature-gate-associated_type_bounds.rs:18 :22
12
12
|
13
13
LL | type B: Iterator<Item: 'static>;
14
14
| ^^^^^^^^^^^^^
@@ -17,7 +17,7 @@ LL | type B: Iterator<Item: 'static>;
17
17
= help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable
18
18
19
19
error[E0658]: associated type bounds are unstable
20
- --> $DIR/feature-gate-associated_type_bounds.rs:19 :20
20
+ --> $DIR/feature-gate-associated_type_bounds.rs:22 :20
21
21
|
22
22
LL | struct _St1<T: Tr1<As1: Tr2>> {
23
23
| ^^^^^^^^
@@ -26,7 +26,7 @@ LL | struct _St1<T: Tr1<As1: Tr2>> {
26
26
= help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable
27
27
28
28
error[E0658]: associated type bounds are unstable
29
- --> $DIR/feature-gate-associated_type_bounds.rs:26 :18
29
+ --> $DIR/feature-gate-associated_type_bounds.rs:29 :18
30
30
|
31
31
LL | enum _En1<T: Tr1<As1: Tr2>> {
32
32
| ^^^^^^^^
@@ -35,7 +35,7 @@ LL | enum _En1<T: Tr1<As1: Tr2>> {
35
35
= help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable
36
36
37
37
error[E0658]: associated type bounds are unstable
38
- --> $DIR/feature-gate-associated_type_bounds.rs:33 :19
38
+ --> $DIR/feature-gate-associated_type_bounds.rs:36 :19
39
39
|
40
40
LL | union _Un1<T: Tr1<As1: Tr2>> {
41
41
| ^^^^^^^^
@@ -44,7 +44,7 @@ LL | union _Un1<T: Tr1<As1: Tr2>> {
44
44
= help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable
45
45
46
46
error[E0658]: associated type bounds are unstable
47
- --> $DIR/feature-gate-associated_type_bounds.rs:40 :37
47
+ --> $DIR/feature-gate-associated_type_bounds.rs:43 :37
48
48
|
49
49
LL | type _TaWhere1<T> where T: Iterator<Item: Copy> = T;
50
50
| ^^^^^^^^^^
@@ -53,7 +53,7 @@ LL | type _TaWhere1<T> where T: Iterator<Item: Copy> = T;
53
53
= help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable
54
54
55
55
error[E0658]: associated type bounds are unstable
56
- --> $DIR/feature-gate-associated_type_bounds.rs:43 :22
56
+ --> $DIR/feature-gate-associated_type_bounds.rs:46 :22
57
57
|
58
58
LL | fn _apit(_: impl Tr1<As1: Copy>) {}
59
59
| ^^^^^^^^^
@@ -62,7 +62,7 @@ LL | fn _apit(_: impl Tr1<As1: Copy>) {}
62
62
= help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable
63
63
64
64
error[E0658]: associated type bounds are unstable
65
- --> $DIR/feature-gate-associated_type_bounds.rs:45 :26
65
+ --> $DIR/feature-gate-associated_type_bounds.rs:48 :26
66
66
|
67
67
LL | fn _apit_dyn(_: &dyn Tr1<As1: Copy>) {}
68
68
| ^^^^^^^^^
@@ -71,7 +71,7 @@ LL | fn _apit_dyn(_: &dyn Tr1<As1: Copy>) {}
71
71
= help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable
72
72
73
73
error[E0658]: associated type bounds are unstable
74
- --> $DIR/feature-gate-associated_type_bounds.rs:48 :24
74
+ --> $DIR/feature-gate-associated_type_bounds.rs:51 :24
75
75
|
76
76
LL | fn _rpit() -> impl Tr1<As1: Copy> { S1 }
77
77
| ^^^^^^^^^
@@ -80,7 +80,7 @@ LL | fn _rpit() -> impl Tr1<As1: Copy> { S1 }
80
80
= help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable
81
81
82
82
error[E0658]: associated type bounds are unstable
83
- --> $DIR/feature-gate-associated_type_bounds.rs:51 :31
83
+ --> $DIR/feature-gate-associated_type_bounds.rs:54 :31
84
84
|
85
85
LL | fn _rpit_dyn() -> Box<dyn Tr1<As1: Copy>> { Box::new(S1) }
86
86
| ^^^^^^^^^
@@ -89,7 +89,7 @@ LL | fn _rpit_dyn() -> Box<dyn Tr1<As1: Copy>> { Box::new(S1) }
89
89
= help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable
90
90
91
91
error[E0658]: associated type bounds are unstable
92
- --> $DIR/feature-gate-associated_type_bounds.rs:54 :23
92
+ --> $DIR/feature-gate-associated_type_bounds.rs:57 :23
93
93
|
94
94
LL | const _cdef: impl Tr1<As1: Copy> = S1;
95
95
| ^^^^^^^^^
@@ -98,7 +98,7 @@ LL | const _cdef: impl Tr1<As1: Copy> = S1;
98
98
= help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable
99
99
100
100
error[E0658]: associated type bounds are unstable
101
- --> $DIR/feature-gate-associated_type_bounds.rs:60 :24
101
+ --> $DIR/feature-gate-associated_type_bounds.rs:63 :24
102
102
|
103
103
LL | static _sdef: impl Tr1<As1: Copy> = S1;
104
104
| ^^^^^^^^^
@@ -107,7 +107,7 @@ LL | static _sdef: impl Tr1<As1: Copy> = S1;
107
107
= help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable
108
108
109
109
error[E0658]: associated type bounds are unstable
110
- --> $DIR/feature-gate-associated_type_bounds.rs:67 :21
110
+ --> $DIR/feature-gate-associated_type_bounds.rs:70 :21
111
111
|
112
112
LL | let _: impl Tr1<As1: Copy> = S1;
113
113
| ^^^^^^^^^
@@ -116,23 +116,23 @@ LL | let _: impl Tr1<As1: Copy> = S1;
116
116
= help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable
117
117
118
118
error[E0562]: `impl Trait` not allowed outside of function and inherent method return types
119
- --> $DIR/feature-gate-associated_type_bounds.rs:54 :14
119
+ --> $DIR/feature-gate-associated_type_bounds.rs:57 :14
120
120
|
121
121
LL | const _cdef: impl Tr1<As1: Copy> = S1;
122
122
| ^^^^^^^^^^^^^^^^^^^
123
123
|
124
124
= help: add `#![feature(impl_trait_in_bindings)]` to the crate attributes to enable
125
125
126
126
error[E0562]: `impl Trait` not allowed outside of function and inherent method return types
127
- --> $DIR/feature-gate-associated_type_bounds.rs:60 :15
127
+ --> $DIR/feature-gate-associated_type_bounds.rs:63 :15
128
128
|
129
129
LL | static _sdef: impl Tr1<As1: Copy> = S1;
130
130
| ^^^^^^^^^^^^^^^^^^^
131
131
|
132
132
= help: add `#![feature(impl_trait_in_bindings)]` to the crate attributes to enable
133
133
134
134
error[E0562]: `impl Trait` not allowed outside of function and inherent method return types
135
- --> $DIR/feature-gate-associated_type_bounds.rs:67 :12
135
+ --> $DIR/feature-gate-associated_type_bounds.rs:70 :12
136
136
|
137
137
LL | let _: impl Tr1<As1: Copy> = S1;
138
138
| ^^^^^^^^^^^^^^^^^^^
0 commit comments