Skip to content

Commit 2e810bd

Browse files
oisyneddyb
authored andcommitted
Blessed tests
1 parent f66030d commit 2e810bd

File tree

2 files changed

+26
-26
lines changed

2 files changed

+26
-26
lines changed

tests/ui/dis/ptr_copy.normal.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
error: Cannot memcpy dynamically sized data
2-
--> $CORE_SRC/intrinsics.rs:2549:9
2+
--> $CORE_SRC/intrinsics.rs:2554:9
33
|
4-
2549 | copy(src, dst, count)
4+
2554 | copy(src, dst, count)
55
| ^^^^^^^^^^^^^^^^^^^^^
66

77
error: aborting due to previous error

tests/ui/spirv-attr/invalid-target.stderr

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,73 +1126,73 @@ error: attribute is only valid on a function or closure, not on a struct field
11261126
185 | unroll_loops, // fn/closure-only
11271127
| ^^^^^^^^^^^^
11281128

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
11301130
--> $DIR/invalid-target.rs:191:5
11311131
|
11321132
191 | sampler, block, sampled_image, generic_image_type, // struct-only
11331133
| ^^^^^^^
11341134

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
11361136
--> $DIR/invalid-target.rs:191:14
11371137
|
11381138
191 | sampler, block, sampled_image, generic_image_type, // struct-only
11391139
| ^^^^^
11401140

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
11421142
--> $DIR/invalid-target.rs:191:21
11431143
|
11441144
191 | sampler, block, sampled_image, generic_image_type, // struct-only
11451145
| ^^^^^^^^^^^^^
11461146

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
11481148
--> $DIR/invalid-target.rs:191:36
11491149
|
11501150
191 | sampler, block, sampled_image, generic_image_type, // struct-only
11511151
| ^^^^^^^^^^^^^^^^^^
11521152

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
11541154
--> $DIR/invalid-target.rs:192:5
11551155
|
11561156
192 | vertex, // fn-only
11571157
| ^^^^^^
11581158

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
11601160
--> $DIR/invalid-target.rs:193:5
11611161
|
11621162
193 | uniform, position, descriptor_set = 0, binding = 0, flat, invariant, // param-only
11631163
| ^^^^^^^
11641164

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
11661166
--> $DIR/invalid-target.rs:193:14
11671167
|
11681168
193 | uniform, position, descriptor_set = 0, binding = 0, flat, invariant, // param-only
11691169
| ^^^^^^^^
11701170

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
11721172
--> $DIR/invalid-target.rs:193:24
11731173
|
11741174
193 | uniform, position, descriptor_set = 0, binding = 0, flat, invariant, // param-only
11751175
| ^^^^^^^^^^^^^^^^^^
11761176

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
11781178
--> $DIR/invalid-target.rs:193:44
11791179
|
11801180
193 | uniform, position, descriptor_set = 0, binding = 0, flat, invariant, // param-only
11811181
| ^^^^^^^^^^^
11821182

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
11841184
--> $DIR/invalid-target.rs:193:57
11851185
|
11861186
193 | uniform, position, descriptor_set = 0, binding = 0, flat, invariant, // param-only
11871187
| ^^^^
11881188

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
11901190
--> $DIR/invalid-target.rs:193:63
11911191
|
11921192
193 | uniform, position, descriptor_set = 0, binding = 0, flat, invariant, // param-only
11931193
| ^^^^^^^^^
11941194

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
11961196
--> $DIR/invalid-target.rs:194:5
11971197
|
11981198
194 | unroll_loops, // fn/closure-only
@@ -1342,73 +1342,73 @@ error: attribute is only valid on a function or closure, not on a trait
13421342
224 | unroll_loops, // fn/closure-only
13431343
| ^^^^^^^^^^^^
13441344

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
13461346
--> $DIR/invalid-target.rs:259:5
13471347
|
13481348
259 | sampler, block, sampled_image, generic_image_type, // struct-only
13491349
| ^^^^^^^
13501350

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
13521352
--> $DIR/invalid-target.rs:259:14
13531353
|
13541354
259 | sampler, block, sampled_image, generic_image_type, // struct-only
13551355
| ^^^^^
13561356

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
13581358
--> $DIR/invalid-target.rs:259:21
13591359
|
13601360
259 | sampler, block, sampled_image, generic_image_type, // struct-only
13611361
| ^^^^^^^^^^^^^
13621362

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
13641364
--> $DIR/invalid-target.rs:259:36
13651365
|
13661366
259 | sampler, block, sampled_image, generic_image_type, // struct-only
13671367
| ^^^^^^^^^^^^^^^^^^
13681368

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
13701370
--> $DIR/invalid-target.rs:260:5
13711371
|
13721372
260 | vertex, // fn-only
13731373
| ^^^^^^
13741374

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
13761376
--> $DIR/invalid-target.rs:261:5
13771377
|
13781378
261 | uniform, position, descriptor_set = 0, binding = 0, flat, invariant, // param-only
13791379
| ^^^^^^^
13801380

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
13821382
--> $DIR/invalid-target.rs:261:14
13831383
|
13841384
261 | uniform, position, descriptor_set = 0, binding = 0, flat, invariant, // param-only
13851385
| ^^^^^^^^
13861386

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
13881388
--> $DIR/invalid-target.rs:261:24
13891389
|
13901390
261 | uniform, position, descriptor_set = 0, binding = 0, flat, invariant, // param-only
13911391
| ^^^^^^^^^^^^^^^^^^
13921392

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
13941394
--> $DIR/invalid-target.rs:261:44
13951395
|
13961396
261 | uniform, position, descriptor_set = 0, binding = 0, flat, invariant, // param-only
13971397
| ^^^^^^^^^^^
13981398

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
14001400
--> $DIR/invalid-target.rs:261:57
14011401
|
14021402
261 | uniform, position, descriptor_set = 0, binding = 0, flat, invariant, // param-only
14031403
| ^^^^
14041404

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
14061406
--> $DIR/invalid-target.rs:261:63
14071407
|
14081408
261 | uniform, position, descriptor_set = 0, binding = 0, flat, invariant, // param-only
14091409
| ^^^^^^^^^
14101410

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
14121412
--> $DIR/invalid-target.rs:262:5
14131413
|
14141414
262 | unroll_loops, // fn/closure-only

0 commit comments

Comments
 (0)