Skip to content

Commit 60e597d

Browse files
committed
Fix UI ordering differing between local mac and the once that runs CI
1 parent 19c17af commit 60e597d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

crates/test-ui/ui/declare_class_invalid_type.stderr

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ note: required by a bound in `ConvertArgument`
9999
| ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ConvertArgument`
100100
= note: `ConvertArgument` is a "sealed trait", because to implement it you also need to implement `objc2::__macro_helpers::convert::argument_private::Sealed`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it
101101
= help: the following types implement the trait:
102-
std::option::Option<&mut objc2::rc::Id<T>>
103-
std::option::Option<&mut std::option::Option<objc2::rc::Id<T>>>
104102
&mut std::option::Option<objc2::rc::Id<T>>
105103
&mut objc2::rc::Id<T>
104+
std::option::Option<&mut objc2::rc::Id<T>>
105+
std::option::Option<&mut std::option::Option<objc2::rc::Id<T>>>
106106
bool
107107
T
108108
= note: this error originates in the macro `$crate::__declare_class_rewrite_params` which comes from the expansion of the macro `declare_class` (in Nightly builds, run with -Z macro-backtrace for more info)
@@ -138,10 +138,10 @@ note: required by a bound in `ConvertArgument`
138138
| ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ConvertArgument`
139139
= note: `ConvertArgument` is a "sealed trait", because to implement it you also need to implement `objc2::__macro_helpers::convert::argument_private::Sealed`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it
140140
= help: the following types implement the trait:
141-
std::option::Option<&mut objc2::rc::Id<T>>
142-
std::option::Option<&mut std::option::Option<objc2::rc::Id<T>>>
143141
&mut std::option::Option<objc2::rc::Id<T>>
144142
&mut objc2::rc::Id<T>
143+
std::option::Option<&mut objc2::rc::Id<T>>
144+
std::option::Option<&mut std::option::Option<objc2::rc::Id<T>>>
145145
bool
146146
T
147147
= note: this error originates in the macro `$crate::__declare_class_rewrite_params` which comes from the expansion of the macro `declare_class` (in Nightly builds, run with -Z macro-backtrace for more info)

crates/test-ui/ui/mutability_traits_unimplementable2.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ note: required by a bound in `IsIdCloneable`
1616
| ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `IsIdCloneable`
1717
= note: `IsIdCloneable` is a "sealed trait", because to implement it you also need to implement `objc2::mutability::private_traits::Sealed`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it
1818
= help: the following types implement the trait:
19-
objc2::runtime::ProtocolObject<P>
2019
objc2::runtime::AnyObject
20+
objc2::runtime::ProtocolObject<P>
2121
T
2222

2323
error[E0277]: the trait bound `CustomStruct: ClassType` is not satisfied

0 commit comments

Comments
 (0)