Skip to content

Commit 0028a12

Browse files
committed
Blessed tests
1 parent ecceeda commit 0028a12

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/ui/arch/debug_printf_type_checking.stderr

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ error[E0308]: mismatched types
6868
| arguments to this function are incorrect
6969
|
7070
note: function defined here
71-
--> $SPIRV_STD_SRC/lib.rs:137:8
71+
--> $SPIRV_STD_SRC/lib.rs:135:8
7272
|
73-
137 | pub fn debug_printf_assert_is_type<T>(ty: T) -> T {
73+
135 | pub fn debug_printf_assert_is_type<T>(ty: T) -> T {
7474
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
7575
help: change the type of the numeric literal from `u32` to `f32`
7676
|
@@ -87,9 +87,9 @@ error[E0308]: mismatched types
8787
| arguments to this function are incorrect
8888
|
8989
note: function defined here
90-
--> $SPIRV_STD_SRC/lib.rs:137:8
90+
--> $SPIRV_STD_SRC/lib.rs:135:8
9191
|
92-
137 | pub fn debug_printf_assert_is_type<T>(ty: T) -> T {
92+
135 | pub fn debug_printf_assert_is_type<T>(ty: T) -> T {
9393
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
9494
help: change the type of the numeric literal from `f32` to `u32`
9595
|
@@ -116,9 +116,9 @@ error[E0277]: the trait bound `{float}: Vector<f32, 2>` is not satisfied
116116
<UVec3 as Vector<u32, 3>>
117117
and 5 others
118118
note: required by a bound in `debug_printf_assert_is_vector`
119-
--> $SPIRV_STD_SRC/lib.rs:144:8
119+
--> $SPIRV_STD_SRC/lib.rs:142:8
120120
|
121-
144 | V: crate::vector::Vector<TY, SIZE>,
121+
142 | V: crate::vector::Vector<TY, SIZE>,
122122
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `debug_printf_assert_is_vector`
123123

124124
error[E0308]: mismatched types
@@ -131,9 +131,9 @@ error[E0308]: mismatched types
131131
| arguments to this function are incorrect
132132
|
133133
note: function defined here
134-
--> $SPIRV_STD_SRC/lib.rs:137:8
134+
--> $SPIRV_STD_SRC/lib.rs:135:8
135135
|
136-
137 | pub fn debug_printf_assert_is_type<T>(ty: T) -> T {
136+
135 | pub fn debug_printf_assert_is_type<T>(ty: T) -> T {
137137
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
138138

139139
error: aborting due to 14 previous errors

0 commit comments

Comments
 (0)