Skip to content

Commit

Permalink
blessed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
oisyn committed Mar 15, 2023
1 parent ae66c7c commit 3b42427
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions tests/ui/arch/debug_printf_type_checking.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ help: the return type of this call is `u32` due to the type of the argument pass
| |
| this argument influences the return type of `spirv_std`
note: function defined here
--> $SPIRV_STD_SRC/lib.rs:144:8
--> $SPIRV_STD_SRC/lib.rs:134:8
|
144 | pub fn debug_printf_assert_is_type<T>(ty: T) -> T {
134 | pub fn debug_printf_assert_is_type<T>(ty: T) -> T {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `debug_printf` (in Nightly builds, run with -Z macro-backtrace for more info)
help: change the type of the numeric literal from `u32` to `f32`
Expand All @@ -102,9 +102,9 @@ help: the return type of this call is `f32` due to the type of the argument pass
| |
| this argument influences the return type of `spirv_std`
note: function defined here
--> $SPIRV_STD_SRC/lib.rs:144:8
--> $SPIRV_STD_SRC/lib.rs:134:8
|
144 | pub fn debug_printf_assert_is_type<T>(ty: T) -> T {
134 | pub fn debug_printf_assert_is_type<T>(ty: T) -> T {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `debug_printf` (in Nightly builds, run with -Z macro-backtrace for more info)
help: change the type of the numeric literal from `f32` to `u32`
Expand Down Expand Up @@ -132,9 +132,9 @@ error[E0277]: the trait bound `{float}: Vector<f32, 2>` is not satisfied
<UVec3 as Vector<u32, 3>>
and 5 others
note: required by a bound in `debug_printf_assert_is_vector`
--> $SPIRV_STD_SRC/lib.rs:151:8
--> $SPIRV_STD_SRC/lib.rs:141:8
|
151 | V: crate::vector::Vector<TY, SIZE>,
141 | V: crate::vector::Vector<TY, SIZE>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `debug_printf_assert_is_vector`

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

Expand Down

0 comments on commit 3b42427

Please sign in to comment.