Skip to content

Commit 3b42427

Browse files
committed
blessed tests
1 parent ae66c7c commit 3b42427

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
@@ -75,9 +75,9 @@ help: the return type of this call is `u32` due to the type of the argument pass
7575
| |
7676
| this argument influences the return type of `spirv_std`
7777
note: function defined here
78-
--> $SPIRV_STD_SRC/lib.rs:144:8
78+
--> $SPIRV_STD_SRC/lib.rs:134:8
7979
|
80-
144 | pub fn debug_printf_assert_is_type<T>(ty: T) -> T {
80+
134 | pub fn debug_printf_assert_is_type<T>(ty: T) -> T {
8181
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
8282
= note: this error originates in the macro `debug_printf` (in Nightly builds, run with -Z macro-backtrace for more info)
8383
help: change the type of the numeric literal from `u32` to `f32`
@@ -102,9 +102,9 @@ help: the return type of this call is `f32` due to the type of the argument pass
102102
| |
103103
| this argument influences the return type of `spirv_std`
104104
note: function defined here
105-
--> $SPIRV_STD_SRC/lib.rs:144:8
105+
--> $SPIRV_STD_SRC/lib.rs:134:8
106106
|
107-
144 | pub fn debug_printf_assert_is_type<T>(ty: T) -> T {
107+
134 | pub fn debug_printf_assert_is_type<T>(ty: T) -> T {
108108
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
109109
= note: this error originates in the macro `debug_printf` (in Nightly builds, run with -Z macro-backtrace for more info)
110110
help: change the type of the numeric literal from `f32` to `u32`
@@ -132,9 +132,9 @@ error[E0277]: the trait bound `{float}: Vector<f32, 2>` is not satisfied
132132
<UVec3 as Vector<u32, 3>>
133133
and 5 others
134134
note: required by a bound in `debug_printf_assert_is_vector`
135-
--> $SPIRV_STD_SRC/lib.rs:151:8
135+
--> $SPIRV_STD_SRC/lib.rs:141:8
136136
|
137-
151 | V: crate::vector::Vector<TY, SIZE>,
137+
141 | V: crate::vector::Vector<TY, SIZE>,
138138
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `debug_printf_assert_is_vector`
139139

140140
error[E0308]: mismatched types
@@ -154,9 +154,9 @@ help: the return type of this call is `Vec2` due to the type of the argument pas
154154
| |
155155
| this argument influences the return type of `spirv_std`
156156
note: function defined here
157-
--> $SPIRV_STD_SRC/lib.rs:144:8
157+
--> $SPIRV_STD_SRC/lib.rs:134:8
158158
|
159-
144 | pub fn debug_printf_assert_is_type<T>(ty: T) -> T {
159+
134 | pub fn debug_printf_assert_is_type<T>(ty: T) -> T {
160160
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
161161
= note: this error originates in the macro `debug_printf` (in Nightly builds, run with -Z macro-backtrace for more info)
162162

0 commit comments

Comments
 (0)