Skip to content

Commit

Permalink
bless compiletest
Browse files Browse the repository at this point in the history
  • Loading branch information
Firestar99 committed Oct 13, 2024
1 parent c676db1 commit a7d9817
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 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:138:8
--> $SPIRV_STD_SRC/lib.rs:139:8
|
138 | pub fn debug_printf_assert_is_type<T>(ty: T) -> T {
139 | 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:138:8
--> $SPIRV_STD_SRC/lib.rs:139:8
|
138 | pub fn debug_printf_assert_is_type<T>(ty: T) -> T {
139 | 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 All @@ -129,12 +129,12 @@ 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:145:8
--> $SPIRV_STD_SRC/lib.rs:146:8
|
143 | pub fn debug_printf_assert_is_vector<
144 | pub fn debug_printf_assert_is_vector<
| ----------------------------- required by a bound in this function
144 | TY: crate::scalar::Scalar,
145 | V: crate::vector::Vector<TY, SIZE>,
145 | TY: crate::scalar::Scalar,
146 | V: crate::vector::Vector<TY, SIZE>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `debug_printf_assert_is_vector`
= note: this error originates in the macro `debug_printf` (in Nightly builds, run with -Z macro-backtrace for more info)

Expand All @@ -155,9 +155,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:138:8
--> $SPIRV_STD_SRC/lib.rs:139:8
|
138 | pub fn debug_printf_assert_is_type<T>(ty: T) -> T {
139 | 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 a7d9817

Please sign in to comment.