Skip to content

Commit 6112414

Browse files
committed
Update compiletest baselines for new nightly diagnostics
Refresh expected stderr for debug_printf trait-path wording and unwrap_or line mapping changes.
1 parent a80776d commit 6112414

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

tests/compiletests/ui/arch/debug_printf_type_checking.stderr

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -114,21 +114,21 @@ LL - debug_printf!("%u", 11.0_f32);
114114
LL + debug_printf!("%u", 11u32);
115115
|
116116

117-
error[E0277]: the trait bound `{float}: Vector<f32, 2>` is not satisfied
117+
error[E0277]: the trait bound `{float}: spirv_std::Vector<f32, 2>` is not satisfied
118118
--> $DIR/debug_printf_type_checking.rs:23:9
119119
|
120120
LL | debug_printf!("%v2f", 11.0);
121-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Vector<f32, 2>` is not implemented for `{float}`
122-
|
123-
= help: the following other types implement trait `Vector<T, N>`:
124-
`BVec2` implements `Vector<bool, 2>`
125-
`BVec3` implements `Vector<bool, 3>`
126-
`BVec4` implements `Vector<bool, 4>`
127-
`DVec2` implements `Vector<f64, 2>`
128-
`DVec3` implements `Vector<f64, 3>`
129-
`DVec4` implements `Vector<f64, 4>`
130-
`IVec2` implements `Vector<i32, 2>`
131-
`IVec3` implements `Vector<i32, 3>`
121+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `spirv_std::Vector<f32, 2>` is not implemented for `{float}`
122+
|
123+
= help: the following other types implement trait `spirv_std::Vector<T, N>`:
124+
`BVec2` implements `spirv_std::Vector<bool, 2>`
125+
`BVec3` implements `spirv_std::Vector<bool, 3>`
126+
`BVec4` implements `spirv_std::Vector<bool, 4>`
127+
`DVec2` implements `spirv_std::Vector<f64, 2>`
128+
`DVec3` implements `spirv_std::Vector<f64, 3>`
129+
`DVec4` implements `spirv_std::Vector<f64, 4>`
130+
`IVec2` implements `spirv_std::Vector<i32, 2>`
131+
`IVec3` implements `spirv_std::Vector<i32, 3>`
132132
and 8 others
133133
note: required by a bound in `assert_is_vector`
134134
--> $SPIRV_STD_SRC/debug_printf.rs:11:40

tests/compiletests/ui/lang/core/unwrap_or.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
%1 = OpFunction %2 None %3
22
%4 = OpLabel
3-
OpLine %5 1041 14
3+
OpLine %5 1042 14
44
%6 = OpBitcast %7 %8
5-
OpLine %5 1041 8
5+
OpLine %5 1042 8
66
%9 = OpINotEqual %10 %6 %11
77
OpNoLine
88
OpSelectionMerge %12 None

0 commit comments

Comments
 (0)