@@ -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`
7777note: function defined here
78- --> $SPIRV_STD_SRC/lib.rs:135 :8
78+ --> $SPIRV_STD_SRC/lib.rs:136 :8
7979 |
80- 135 | pub fn debug_printf_assert_is_type<T>(ty: T) -> T {
80+ 136 | 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)
8383help: 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`
104104note: function defined here
105- --> $SPIRV_STD_SRC/lib.rs:135 :8
105+ --> $SPIRV_STD_SRC/lib.rs:136 :8
106106 |
107- 135 | pub fn debug_printf_assert_is_type<T>(ty: T) -> T {
107+ 136 | 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)
110110help: change the type of the numeric literal from `f32` to `u32`
@@ -113,32 +113,30 @@ help: change the type of the numeric literal from `f32` to `u32`
113113 | ~~~
114114
115115error[E0277]: the trait bound `{float}: Vector<f32, 2>` is not satisfied
116- --> $DIR/debug_printf_type_checking.rs:23:31
116+ --> $DIR/debug_printf_type_checking.rs:23:9
117117 |
11811823 | debug_printf!("%v2f", 11.0);
119- | ----------------------^^^^-
120- | | |
121- | | the trait `Vector<f32, 2>` is not implemented for `{float}`
122- | required by a bound introduced by this call
119+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Vector<f32, 2>` is not implemented for `{float}`
123120 |
124121 = help: the following other types implement trait `Vector<T, N>`:
122+ <Vec2 as Vector<f32, 2>>
123+ <Vec3 as Vector<f32, 3>>
124+ <Vec3A as Vector<f32, 3>>
125+ <Vec4 as Vector<f32, 4>>
125126 <DVec2 as Vector<f64, 2>>
126127 <DVec3 as Vector<f64, 3>>
127128 <DVec4 as Vector<f64, 4>>
128129 <IVec2 as Vector<i32, 2>>
129- <IVec3 as Vector<i32, 3>>
130- <IVec4 as Vector<i32, 4>>
131- <UVec2 as Vector<u32, 2>>
132- <UVec3 as Vector<u32, 3>>
133130 and 5 others
134131note: required by a bound in `debug_printf_assert_is_vector`
135- --> $SPIRV_STD_SRC/lib.rs:142 :8
132+ --> $SPIRV_STD_SRC/lib.rs:143 :8
136133 |
137- 140 | pub fn debug_printf_assert_is_vector<
134+ 141 | pub fn debug_printf_assert_is_vector<
138135 | ----------------------------- required by a bound in this function
139- 141 | TY: crate::scalar::Scalar,
140- 142 | V: crate::vector::Vector<TY, SIZE>,
136+ 142 | TY: crate::scalar::Scalar,
137+ 143 | V: crate::vector::Vector<TY, SIZE>,
141138 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `debug_printf_assert_is_vector`
139+ = note: this error originates in the macro `debug_printf` (in Nightly builds, run with -Z macro-backtrace for more info)
142140
143141error[E0308]: mismatched types
144142 --> $DIR/debug_printf_type_checking.rs:24:29
@@ -157,9 +155,9 @@ help: the return type of this call is `Vec2` due to the type of the argument pas
157155 | |
158156 | this argument influences the return type of `spirv_std`
159157note: function defined here
160- --> $SPIRV_STD_SRC/lib.rs:135 :8
158+ --> $SPIRV_STD_SRC/lib.rs:136 :8
161159 |
162- 135 | pub fn debug_printf_assert_is_type<T>(ty: T) -> T {
160+ 136 | pub fn debug_printf_assert_is_type<T>(ty: T) -> T {
163161 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
164162 = note: this error originates in the macro `debug_printf` (in Nightly builds, run with -Z macro-backtrace for more info)
165163
0 commit comments