@@ -23,75 +23,75 @@ LL | impl Trait2<usize> for S {
23
23
= help: add `#![feature(unstable_default)]` to the crate attributes to enable
24
24
25
25
warning: use of deprecated item 'unstable_generic_param::Struct4': test
26
- --> $DIR/generics-default-stability.rs:81 :29
26
+ --> $DIR/generics-default-stability.rs:83 :29
27
27
|
28
28
LL | let _: Struct4<isize> = Struct4 { field: 1 };
29
29
| ^^^^^^^
30
30
|
31
31
= note: `#[warn(deprecated)]` on by default
32
32
33
33
warning: use of deprecated item 'unstable_generic_param::Struct4': test
34
- --> $DIR/generics-default-stability.rs:81 :12
34
+ --> $DIR/generics-default-stability.rs:83 :12
35
35
|
36
36
LL | let _: Struct4<isize> = Struct4 { field: 1 };
37
37
| ^^^^^^^^^^^^^^
38
38
39
39
warning: use of deprecated item 'unstable_generic_param::Struct4': test
40
- --> $DIR/generics-default-stability.rs:86 :12
40
+ --> $DIR/generics-default-stability.rs:88 :12
41
41
|
42
42
LL | let _: Struct4 = STRUCT4;
43
43
| ^^^^^^^
44
44
45
45
warning: use of deprecated item 'unstable_generic_param::Struct4': test
46
- --> $DIR/generics-default-stability.rs:87 :12
46
+ --> $DIR/generics-default-stability.rs:89 :12
47
47
|
48
48
LL | let _: Struct4<usize> = STRUCT4;
49
49
| ^^^^^^^^^^^^^^
50
50
51
51
warning: use of deprecated item 'unstable_generic_param::Struct4': test
52
- --> $DIR/generics-default-stability.rs:88 :29
52
+ --> $DIR/generics-default-stability.rs:90 :29
53
53
|
54
54
LL | let _: Struct4<isize> = Struct4 { field: 0 };
55
55
| ^^^^^^^
56
56
57
57
warning: use of deprecated item 'unstable_generic_param::Struct4': test
58
- --> $DIR/generics-default-stability.rs:88 :12
58
+ --> $DIR/generics-default-stability.rs:90 :12
59
59
|
60
60
LL | let _: Struct4<isize> = Struct4 { field: 0 };
61
61
| ^^^^^^^^^^^^^^
62
62
63
63
warning: use of deprecated item 'unstable_generic_param::Struct5': test
64
- --> $DIR/generics-default-stability.rs:94 :29
64
+ --> $DIR/generics-default-stability.rs:96 :29
65
65
|
66
66
LL | let _: Struct5<isize> = Struct5 { field: 1 };
67
67
| ^^^^^^^
68
68
69
69
warning: use of deprecated item 'unstable_generic_param::Struct5': test
70
- --> $DIR/generics-default-stability.rs:94 :12
70
+ --> $DIR/generics-default-stability.rs:96 :12
71
71
|
72
72
LL | let _: Struct5<isize> = Struct5 { field: 1 };
73
73
| ^^^^^^^^^^^^^^
74
74
75
75
warning: use of deprecated item 'unstable_generic_param::Struct5': test
76
- --> $DIR/generics-default-stability.rs:99 :12
76
+ --> $DIR/generics-default-stability.rs:101 :12
77
77
|
78
78
LL | let _: Struct5 = STRUCT5;
79
79
| ^^^^^^^
80
80
81
81
warning: use of deprecated item 'unstable_generic_param::Struct5': test
82
- --> $DIR/generics-default-stability.rs:100 :12
82
+ --> $DIR/generics-default-stability.rs:102 :12
83
83
|
84
84
LL | let _: Struct5<usize> = STRUCT5;
85
85
| ^^^^^^^^^^^^^^
86
86
87
87
warning: use of deprecated item 'unstable_generic_param::Struct5': test
88
- --> $DIR/generics-default-stability.rs:102 :29
88
+ --> $DIR/generics-default-stability.rs:104 :29
89
89
|
90
90
LL | let _: Struct5<isize> = Struct5 { field: 0 };
91
91
| ^^^^^^^
92
92
93
93
warning: use of deprecated item 'unstable_generic_param::Struct5': test
94
- --> $DIR/generics-default-stability.rs:102 :12
94
+ --> $DIR/generics-default-stability.rs:104 :12
95
95
|
96
96
LL | let _: Struct5<isize> = Struct5 { field: 0 };
97
97
| ^^^^^^^^^^^^^^
@@ -121,73 +121,73 @@ LL | let _: Struct1<isize> = Struct1 { field: 0 };
121
121
= help: add `#![feature(unstable_default)]` to the crate attributes to enable
122
122
123
123
error[E0658]: use of unstable library feature 'unstable_default'
124
- --> $DIR/generics-default-stability.rs:67 :27
124
+ --> $DIR/generics-default-stability.rs:69 :27
125
125
|
126
126
LL | let _: Struct3<isize, usize> = STRUCT3;
127
127
| ^^^^^
128
128
|
129
129
= help: add `#![feature(unstable_default)]` to the crate attributes to enable
130
130
131
131
error[E0658]: use of unstable library feature 'unstable_default'
132
- --> $DIR/generics-default-stability.rs:69 :27
132
+ --> $DIR/generics-default-stability.rs:71 :27
133
133
|
134
134
LL | let _: Struct3<isize, isize> = Struct3 { field1: 0, field2: 0 };
135
135
| ^^^^^
136
136
|
137
137
= help: add `#![feature(unstable_default)]` to the crate attributes to enable
138
138
139
139
error[E0658]: use of unstable library feature 'unstable_default'
140
- --> $DIR/generics-default-stability.rs:70 :27
140
+ --> $DIR/generics-default-stability.rs:72 :27
141
141
|
142
142
LL | let _: Struct3<usize, usize> = Struct3 { field1: 0, field2: 0 };
143
143
| ^^^^^
144
144
|
145
145
= help: add `#![feature(unstable_default)]` to the crate attributes to enable
146
146
147
147
error[E0658]: use of unstable library feature 'unstable_default'
148
- --> $DIR/generics-default-stability.rs:94 :20
148
+ --> $DIR/generics-default-stability.rs:96 :20
149
149
|
150
150
LL | let _: Struct5<isize> = Struct5 { field: 1 };
151
151
| ^^^^^
152
152
|
153
153
= help: add `#![feature(unstable_default)]` to the crate attributes to enable
154
154
155
155
error[E0658]: use of unstable library feature 'unstable_default'
156
- --> $DIR/generics-default-stability.rs:100 :20
156
+ --> $DIR/generics-default-stability.rs:102 :20
157
157
|
158
158
LL | let _: Struct5<usize> = STRUCT5;
159
159
| ^^^^^
160
160
|
161
161
= help: add `#![feature(unstable_default)]` to the crate attributes to enable
162
162
163
163
error[E0658]: use of unstable library feature 'unstable_default'
164
- --> $DIR/generics-default-stability.rs:102 :20
164
+ --> $DIR/generics-default-stability.rs:104 :20
165
165
|
166
166
LL | let _: Struct5<isize> = Struct5 { field: 0 };
167
167
| ^^^^^
168
168
|
169
169
= help: add `#![feature(unstable_default)]` to the crate attributes to enable
170
170
171
171
warning: use of deprecated item 'unstable_generic_param::Struct4::field': test
172
- --> $DIR/generics-default-stability.rs:81 :39
172
+ --> $DIR/generics-default-stability.rs:83 :39
173
173
|
174
174
LL | let _: Struct4<isize> = Struct4 { field: 1 };
175
175
| ^^^^^^^^
176
176
177
177
warning: use of deprecated item 'unstable_generic_param::Struct4::field': test
178
- --> $DIR/generics-default-stability.rs:88 :39
178
+ --> $DIR/generics-default-stability.rs:90 :39
179
179
|
180
180
LL | let _: Struct4<isize> = Struct4 { field: 0 };
181
181
| ^^^^^^^^
182
182
183
183
warning: use of deprecated item 'unstable_generic_param::Struct5::field': test
184
- --> $DIR/generics-default-stability.rs:94 :39
184
+ --> $DIR/generics-default-stability.rs:96 :39
185
185
|
186
186
LL | let _: Struct5<isize> = Struct5 { field: 1 };
187
187
| ^^^^^^^^
188
188
189
189
warning: use of deprecated item 'unstable_generic_param::Struct5::field': test
190
- --> $DIR/generics-default-stability.rs:102 :39
190
+ --> $DIR/generics-default-stability.rs:104 :39
191
191
|
192
192
LL | let _: Struct5<isize> = Struct5 { field: 0 };
193
193
| ^^^^^^^^
0 commit comments