@@ -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:134 :8
78+ --> $SPIRV_STD_SRC/debug_printf .rs:7 :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:134 :8
106+ --> $SPIRV_STD_SRC/debug_printf .rs:7 :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,14 +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:141:8
135- |
136- LL | pub fn debug_printf_assert_is_vector<
137- | ----------------------------- required by a bound in this function
138- LL | TY: crate::scalar::Scalar,
139- LL | V: crate::vector::Vector<TY, SIZE>,
140- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `debug_printf_assert_is_vector`
133+ note: required by a bound in `assert_is_vector`
134+ --> $SPIRV_STD_SRC/debug_printf.rs:12:40
135+ |
136+ LL | pub fn assert_is_vector<TY: Scalar, V: Vector<TY, SIZE>, const SIZE: usize>(
137+ | ^^^^^^^^^^^^^^^^ required by this bound in `assert_is_vector`
141138 = note: this error originates in the macro `debug_printf` (in Nightly builds, run with -Z macro-backtrace for more info)
142139
143140error[E0308]: mismatched types
@@ -155,12 +152,12 @@ help: the return type of this call is `Vec2` due to the type of the argument pas
155152LL | debug_printf!("%f", Vec2::splat(33.3));
156153 | ^^^^^^^^^^^^^^^^^^^^-----------------^
157154 | |
158- | this argument influences the return type of `debug_printf_assert_is_type `
155+ | this argument influences the return type of `assert_is_type `
159156note: function defined here
160- --> $SPIRV_STD_SRC/lib .rs:134 :8
157+ --> $SPIRV_STD_SRC/debug_printf .rs:7 :8
161158 |
162- LL | pub fn debug_printf_assert_is_type <T>(ty: T) -> T {
163- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
159+ LL | pub fn assert_is_type <T>(ty: T) -> T {
160+ | ^^^^^^^^^^^^^^
164161 = note: this error originates in the macro `debug_printf` (in Nightly builds, run with -Z macro-backtrace for more info)
165162
166163error: aborting due to 14 previous errors
0 commit comments