@@ -1126,73 +1126,73 @@ error: attribute is only valid on a function or closure, not on a struct field
1126
1126
185 | unroll_loops, // fn/closure-only
1127
1127
| ^^^^^^^^^^^^
1128
1128
1129
- error: attribute is only valid on a struct, not on a item
1129
+ error: attribute is only valid on a struct, not on a implementation block
1130
1130
--> $DIR/invalid-target.rs:191:5
1131
1131
|
1132
1132
191 | sampler, block, sampled_image, generic_image_type, // struct-only
1133
1133
| ^^^^^^^
1134
1134
1135
- error: attribute is only valid on a struct, not on a item
1135
+ error: attribute is only valid on a struct, not on a implementation block
1136
1136
--> $DIR/invalid-target.rs:191:14
1137
1137
|
1138
1138
191 | sampler, block, sampled_image, generic_image_type, // struct-only
1139
1139
| ^^^^^
1140
1140
1141
- error: attribute is only valid on a struct, not on a item
1141
+ error: attribute is only valid on a struct, not on a implementation block
1142
1142
--> $DIR/invalid-target.rs:191:21
1143
1143
|
1144
1144
191 | sampler, block, sampled_image, generic_image_type, // struct-only
1145
1145
| ^^^^^^^^^^^^^
1146
1146
1147
- error: attribute is only valid on a struct, not on a item
1147
+ error: attribute is only valid on a struct, not on a implementation block
1148
1148
--> $DIR/invalid-target.rs:191:36
1149
1149
|
1150
1150
191 | sampler, block, sampled_image, generic_image_type, // struct-only
1151
1151
| ^^^^^^^^^^^^^^^^^^
1152
1152
1153
- error: attribute is only valid on a function, not on a item
1153
+ error: attribute is only valid on a function, not on a implementation block
1154
1154
--> $DIR/invalid-target.rs:192:5
1155
1155
|
1156
1156
192 | vertex, // fn-only
1157
1157
| ^^^^^^
1158
1158
1159
- error: attribute is only valid on a function parameter, not on a item
1159
+ error: attribute is only valid on a function parameter, not on a implementation block
1160
1160
--> $DIR/invalid-target.rs:193:5
1161
1161
|
1162
1162
193 | uniform, position, descriptor_set = 0, binding = 0, flat, invariant, // param-only
1163
1163
| ^^^^^^^
1164
1164
1165
- error: attribute is only valid on a function parameter, not on a item
1165
+ error: attribute is only valid on a function parameter, not on a implementation block
1166
1166
--> $DIR/invalid-target.rs:193:14
1167
1167
|
1168
1168
193 | uniform, position, descriptor_set = 0, binding = 0, flat, invariant, // param-only
1169
1169
| ^^^^^^^^
1170
1170
1171
- error: attribute is only valid on a function parameter, not on a item
1171
+ error: attribute is only valid on a function parameter, not on a implementation block
1172
1172
--> $DIR/invalid-target.rs:193:24
1173
1173
|
1174
1174
193 | uniform, position, descriptor_set = 0, binding = 0, flat, invariant, // param-only
1175
1175
| ^^^^^^^^^^^^^^^^^^
1176
1176
1177
- error: attribute is only valid on a function parameter, not on a item
1177
+ error: attribute is only valid on a function parameter, not on a implementation block
1178
1178
--> $DIR/invalid-target.rs:193:44
1179
1179
|
1180
1180
193 | uniform, position, descriptor_set = 0, binding = 0, flat, invariant, // param-only
1181
1181
| ^^^^^^^^^^^
1182
1182
1183
- error: attribute is only valid on a function parameter, not on a item
1183
+ error: attribute is only valid on a function parameter, not on a implementation block
1184
1184
--> $DIR/invalid-target.rs:193:57
1185
1185
|
1186
1186
193 | uniform, position, descriptor_set = 0, binding = 0, flat, invariant, // param-only
1187
1187
| ^^^^
1188
1188
1189
- error: attribute is only valid on a function parameter, not on a item
1189
+ error: attribute is only valid on a function parameter, not on a implementation block
1190
1190
--> $DIR/invalid-target.rs:193:63
1191
1191
|
1192
1192
193 | uniform, position, descriptor_set = 0, binding = 0, flat, invariant, // param-only
1193
1193
| ^^^^^^^^^
1194
1194
1195
- error: attribute is only valid on a function or closure, not on a item
1195
+ error: attribute is only valid on a function or closure, not on a implementation block
1196
1196
--> $DIR/invalid-target.rs:194:5
1197
1197
|
1198
1198
194 | unroll_loops, // fn/closure-only
@@ -1342,73 +1342,73 @@ error: attribute is only valid on a function or closure, not on a trait
1342
1342
224 | unroll_loops, // fn/closure-only
1343
1343
| ^^^^^^^^^^^^
1344
1344
1345
- error: attribute is only valid on a struct, not on a item
1345
+ error: attribute is only valid on a struct, not on a implementation block
1346
1346
--> $DIR/invalid-target.rs:259:5
1347
1347
|
1348
1348
259 | sampler, block, sampled_image, generic_image_type, // struct-only
1349
1349
| ^^^^^^^
1350
1350
1351
- error: attribute is only valid on a struct, not on a item
1351
+ error: attribute is only valid on a struct, not on a implementation block
1352
1352
--> $DIR/invalid-target.rs:259:14
1353
1353
|
1354
1354
259 | sampler, block, sampled_image, generic_image_type, // struct-only
1355
1355
| ^^^^^
1356
1356
1357
- error: attribute is only valid on a struct, not on a item
1357
+ error: attribute is only valid on a struct, not on a implementation block
1358
1358
--> $DIR/invalid-target.rs:259:21
1359
1359
|
1360
1360
259 | sampler, block, sampled_image, generic_image_type, // struct-only
1361
1361
| ^^^^^^^^^^^^^
1362
1362
1363
- error: attribute is only valid on a struct, not on a item
1363
+ error: attribute is only valid on a struct, not on a implementation block
1364
1364
--> $DIR/invalid-target.rs:259:36
1365
1365
|
1366
1366
259 | sampler, block, sampled_image, generic_image_type, // struct-only
1367
1367
| ^^^^^^^^^^^^^^^^^^
1368
1368
1369
- error: attribute is only valid on a function, not on a item
1369
+ error: attribute is only valid on a function, not on a implementation block
1370
1370
--> $DIR/invalid-target.rs:260:5
1371
1371
|
1372
1372
260 | vertex, // fn-only
1373
1373
| ^^^^^^
1374
1374
1375
- error: attribute is only valid on a function parameter, not on a item
1375
+ error: attribute is only valid on a function parameter, not on a implementation block
1376
1376
--> $DIR/invalid-target.rs:261:5
1377
1377
|
1378
1378
261 | uniform, position, descriptor_set = 0, binding = 0, flat, invariant, // param-only
1379
1379
| ^^^^^^^
1380
1380
1381
- error: attribute is only valid on a function parameter, not on a item
1381
+ error: attribute is only valid on a function parameter, not on a implementation block
1382
1382
--> $DIR/invalid-target.rs:261:14
1383
1383
|
1384
1384
261 | uniform, position, descriptor_set = 0, binding = 0, flat, invariant, // param-only
1385
1385
| ^^^^^^^^
1386
1386
1387
- error: attribute is only valid on a function parameter, not on a item
1387
+ error: attribute is only valid on a function parameter, not on a implementation block
1388
1388
--> $DIR/invalid-target.rs:261:24
1389
1389
|
1390
1390
261 | uniform, position, descriptor_set = 0, binding = 0, flat, invariant, // param-only
1391
1391
| ^^^^^^^^^^^^^^^^^^
1392
1392
1393
- error: attribute is only valid on a function parameter, not on a item
1393
+ error: attribute is only valid on a function parameter, not on a implementation block
1394
1394
--> $DIR/invalid-target.rs:261:44
1395
1395
|
1396
1396
261 | uniform, position, descriptor_set = 0, binding = 0, flat, invariant, // param-only
1397
1397
| ^^^^^^^^^^^
1398
1398
1399
- error: attribute is only valid on a function parameter, not on a item
1399
+ error: attribute is only valid on a function parameter, not on a implementation block
1400
1400
--> $DIR/invalid-target.rs:261:57
1401
1401
|
1402
1402
261 | uniform, position, descriptor_set = 0, binding = 0, flat, invariant, // param-only
1403
1403
| ^^^^
1404
1404
1405
- error: attribute is only valid on a function parameter, not on a item
1405
+ error: attribute is only valid on a function parameter, not on a implementation block
1406
1406
--> $DIR/invalid-target.rs:261:63
1407
1407
|
1408
1408
261 | uniform, position, descriptor_set = 0, binding = 0, flat, invariant, // param-only
1409
1409
| ^^^^^^^^^
1410
1410
1411
- error: attribute is only valid on a function or closure, not on a item
1411
+ error: attribute is only valid on a function or closure, not on a implementation block
1412
1412
--> $DIR/invalid-target.rs:262:5
1413
1413
|
1414
1414
262 | unroll_loops, // fn/closure-only
0 commit comments