Skip to content

Commit

Permalink
Fix UI ordering differing between local mac and the once that runs CI
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Nov 26, 2023
1 parent 19c17af commit 60e597d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions crates/test-ui/ui/declare_class_invalid_type.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ note: required by a bound in `ConvertArgument`
| ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ConvertArgument`
= 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
= help: the following types implement the trait:
std::option::Option<&mut objc2::rc::Id<T>>
std::option::Option<&mut std::option::Option<objc2::rc::Id<T>>>
&mut std::option::Option<objc2::rc::Id<T>>
&mut objc2::rc::Id<T>
std::option::Option<&mut objc2::rc::Id<T>>
std::option::Option<&mut std::option::Option<objc2::rc::Id<T>>>
bool
T
= 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)
Expand Down Expand Up @@ -138,10 +138,10 @@ note: required by a bound in `ConvertArgument`
| ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ConvertArgument`
= 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
= help: the following types implement the trait:
std::option::Option<&mut objc2::rc::Id<T>>
std::option::Option<&mut std::option::Option<objc2::rc::Id<T>>>
&mut std::option::Option<objc2::rc::Id<T>>
&mut objc2::rc::Id<T>
std::option::Option<&mut objc2::rc::Id<T>>
std::option::Option<&mut std::option::Option<objc2::rc::Id<T>>>
bool
T
= 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)
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ note: required by a bound in `IsIdCloneable`
| ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `IsIdCloneable`
= 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
= help: the following types implement the trait:
objc2::runtime::ProtocolObject<P>
objc2::runtime::AnyObject
objc2::runtime::ProtocolObject<P>
T

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

0 comments on commit 60e597d

Please sign in to comment.