Skip to content

Commit 9e2e667

Browse files
oisyneddyb
authored andcommitted
Blessed tests
1 parent 2442d90 commit 9e2e667

File tree

6 files changed

+26
-14
lines changed

6 files changed

+26
-14
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:2343:9
2+
--> $CORE_SRC/intrinsics.rs:2333:9
33
|
4-
2343 | copy(src, dst, count)
4+
2333 | copy(src, dst, count)
55
| ^^^^^^^^^^^^^^^^^^^^^
66

77
error: aborting due to previous error

tests/ui/image/gather_err.stderr

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
error[E0277]: the trait bound `Image<f32, 0, 2, 0, 0, 1, 0>: HasGather` is not satisfied
2-
--> $DIR/gather_err.rs:15:34
2+
--> $DIR/gather_err.rs:15:26
33
|
44
15 | let r1: glam::Vec4 = image1d.gather(*sampler, 0.0f32, 0);
5-
| ^^^^^^ the trait `HasGather` is not implemented for `Image<f32, 0, 2, 0, 0, 1, 0>`
5+
| ^^^^^^^ ------ required by a bound introduced by this call
6+
| |
7+
| the trait `HasGather` is not implemented for `Image<f32, 0, 2, 0, 0, 1, 0>`
68
|
79
= help: the following other types implement trait `HasGather`:
810
Image<SampledType, 1, DEPTH, ARRAYED, 0, SAMPLED, FORMAT>
@@ -15,10 +17,12 @@ note: required by a bound in `Image::<SampledType, DIM, DEPTH, ARRAYED, _, SAMPL
1517
| ^^^^^^^^^ required by this bound in `Image::<SampledType, DIM, DEPTH, ARRAYED, _, SAMPLED, FORMAT>::gather`
1618

1719
error[E0277]: the trait bound `Image<f32, 2, 2, 0, 0, 1, 0>: HasGather` is not satisfied
18-
--> $DIR/gather_err.rs:16:34
20+
--> $DIR/gather_err.rs:16:26
1921
|
2022
16 | let r2: glam::Vec4 = image3d.gather(*sampler, v3, 0);
21-
| ^^^^^^ the trait `HasGather` is not implemented for `Image<f32, 2, 2, 0, 0, 1, 0>`
23+
| ^^^^^^^ ------ required by a bound introduced by this call
24+
| |
25+
| the trait `HasGather` is not implemented for `Image<f32, 2, 2, 0, 0, 1, 0>`
2226
|
2327
= help: the following other types implement trait `HasGather`:
2428
Image<SampledType, 1, DEPTH, ARRAYED, 0, SAMPLED, FORMAT>

tests/ui/image/query/query_levels_err.stderr

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
error[E0277]: the trait bound `Image<f32, 4, 2, 0, 0, 1, 0>: HasQueryLevels` is not satisfied
2-
--> $DIR/query_levels_err.rs:12:21
2+
--> $DIR/query_levels_err.rs:12:15
33
|
44
12 | *output = image.query_levels();
5-
| ^^^^^^^^^^^^ the trait `HasQueryLevels` is not implemented for `Image<f32, 4, 2, 0, 0, 1, 0>`
5+
| ^^^^^ ------------ required by a bound introduced by this call
6+
| |
7+
| the trait `HasQueryLevels` is not implemented for `Image<f32, 4, 2, 0, 0, 1, 0>`
68
|
79
= help: the following other types implement trait `HasQueryLevels`:
810
Image<SampledType, 0, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT>

tests/ui/image/query/query_lod_err.stderr

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
error[E0277]: the trait bound `Image<f32, 4, 2, 0, 0, 1, 0>: HasQueryLevels` is not satisfied
2-
--> $DIR/query_lod_err.rs:13:21
2+
--> $DIR/query_lod_err.rs:13:15
33
|
44
13 | *output = image.query_lod(*sampler, glam::Vec2::new(0.0, 1.0));
5-
| ^^^^^^^^^ the trait `HasQueryLevels` is not implemented for `Image<f32, 4, 2, 0, 0, 1, 0>`
5+
| ^^^^^ --------- required by a bound introduced by this call
6+
| |
7+
| the trait `HasQueryLevels` is not implemented for `Image<f32, 4, 2, 0, 0, 1, 0>`
68
|
79
= help: the following other types implement trait `HasQueryLevels`:
810
Image<SampledType, 0, DEPTH, ARRAYED, MULTISAMPLED, SAMPLED, FORMAT>

tests/ui/image/query/query_size_err.stderr

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
error[E0277]: the trait bound `Image<f32, 1, 2, 0, 0, 1, 0>: HasQuerySize` is not satisfied
2-
--> $DIR/query_size_err.rs:12:21
2+
--> $DIR/query_size_err.rs:12:15
33
|
44
12 | *output = image.query_size();
5-
| ^^^^^^^^^^ the trait `HasQuerySize` is not implemented for `Image<f32, 1, 2, 0, 0, 1, 0>`
5+
| ^^^^^ ---------- required by a bound introduced by this call
6+
| |
7+
| the trait `HasQuerySize` is not implemented for `Image<f32, 1, 2, 0, 0, 1, 0>`
68
|
79
= help: the following other types implement trait `HasQuerySize`:
810
Image<SampledType, 0, DEPTH, ARRAYED, 0, 0, FORMAT>

tests/ui/image/query/query_size_lod_err.stderr

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
error[E0277]: the trait bound `Image<f32, 4, 2, 0, 0, 1, 0>: HasQuerySizeLod` is not satisfied
2-
--> $DIR/query_size_lod_err.rs:12:21
2+
--> $DIR/query_size_lod_err.rs:12:15
33
|
44
12 | *output = image.query_size_lod(0);
5-
| ^^^^^^^^^^^^^^ the trait `HasQuerySizeLod` is not implemented for `Image<f32, 4, 2, 0, 0, 1, 0>`
5+
| ^^^^^ -------------- required by a bound introduced by this call
6+
| |
7+
| the trait `HasQuerySizeLod` is not implemented for `Image<f32, 4, 2, 0, 0, 1, 0>`
68
|
79
= help: the following other types implement trait `HasQuerySizeLod`:
810
Image<SampledType, 0, DEPTH, ARRAYED, 0, SAMPLED, FORMAT>

0 commit comments

Comments
 (0)