@@ -73,12 +73,12 @@ help: the return type of this call is `u32` due to the type of the argument pass
7373LL | debug_printf!("%f", 11_u32);
7474 | ^^^^^^^^^^^^^^^^^^^^------^
7575 | |
76- | this argument influences the return type of `debug_printf_assert_is_type `
76+ | this argument influences the return type of `assert_is_type `
7777note: function defined here
78- --> $SPIRV_STD_SRC/lib .rs:135 :8
78+ --> $SPIRV_STD_SRC/debug_printf .rs:6 :8
7979 |
80- LL | pub fn debug_printf_assert_is_type <T>(ty: T) -> T {
81- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
80+ LL | pub fn assert_is_type <T>(ty: T) -> T {
81+ | ^^^^^^^^^^^^^^
8282 = note: this error originates in the macro `debug_printf` (in Nightly builds, run with -Z macro-backtrace for more info)
8383help: change the type of the numeric literal from `u32` to `f32`
8484 |
@@ -101,12 +101,12 @@ help: the return type of this call is `f32` due to the type of the argument pass
101101LL | debug_printf!("%u", 11.0_f32);
102102 | ^^^^^^^^^^^^^^^^^^^^--------^
103103 | |
104- | this argument influences the return type of `debug_printf_assert_is_type `
104+ | this argument influences the return type of `assert_is_type `
105105note: function defined here
106- --> $SPIRV_STD_SRC/lib .rs:135 :8
106+ --> $SPIRV_STD_SRC/debug_printf .rs:6 :8
107107 |
108- LL | pub fn debug_printf_assert_is_type <T>(ty: T) -> T {
109- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
108+ LL | pub fn assert_is_type <T>(ty: T) -> T {
109+ | ^^^^^^^^^^^^^^
110110 = note: this error originates in the macro `debug_printf` (in Nightly builds, run with -Z macro-backtrace for more info)
111111help: change the type of the numeric literal from `f32` to `u32`
112112 |
@@ -130,11 +130,11 @@ LL | debug_printf!("%v2f", 11.0);
130130 `IVec2` implements `Vector<i32, 2>`
131131 `IVec3` implements `Vector<i32, 3>`
132132 and 8 others
133- note: required by a bound in `debug_printf_assert_is_vector `
134- --> $SPIRV_STD_SRC/lib .rs:140:53
133+ note: required by a bound in `assert_is_vector `
134+ --> $SPIRV_STD_SRC/debug_printf .rs:11:40
135135 |
136- LL | pub fn debug_printf_assert_is_vector <TY: Scalar, V: Vector<TY, SIZE>, const SIZE: usize>(
137- | ^^^^^^^^^^^^^^^^ required by this bound in `debug_printf_assert_is_vector `
136+ LL | pub fn assert_is_vector <TY: Scalar, V: Vector<TY, SIZE>, const SIZE: usize>(vec: V) -> V {
137+ | ^^^^^^^^^^^^^^^^ required by this bound in `assert_is_vector `
138138 = note: this error originates in the macro `debug_printf` (in Nightly builds, run with -Z macro-backtrace for more info)
139139
140140error[E0308]: mismatched types
@@ -152,12 +152,12 @@ help: the return type of this call is `Vec2` due to the type of the argument pas
152152LL | debug_printf!("%f", Vec2::splat(33.3));
153153 | ^^^^^^^^^^^^^^^^^^^^-----------------^
154154 | |
155- | this argument influences the return type of `debug_printf_assert_is_type `
155+ | this argument influences the return type of `assert_is_type `
156156note: function defined here
157- --> $SPIRV_STD_SRC/lib .rs:135 :8
157+ --> $SPIRV_STD_SRC/debug_printf .rs:6 :8
158158 |
159- LL | pub fn debug_printf_assert_is_type <T>(ty: T) -> T {
160- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
159+ LL | pub fn assert_is_type <T>(ty: T) -> T {
160+ | ^^^^^^^^^^^^^^
161161 = note: this error originates in the macro `debug_printf` (in Nightly builds, run with -Z macro-backtrace for more info)
162162
163163error: aborting due to 14 previous errors
0 commit comments