From 60e597da2bed01dc4359e28d54596446fe8b9e20 Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Thu, 23 Nov 2023 09:10:30 +0100 Subject: [PATCH] Fix UI ordering differing between local mac and the once that runs CI --- crates/test-ui/ui/declare_class_invalid_type.stderr | 8 ++++---- .../test-ui/ui/mutability_traits_unimplementable2.stderr | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/test-ui/ui/declare_class_invalid_type.stderr b/crates/test-ui/ui/declare_class_invalid_type.stderr index ecc4aa0c4..5ffa70b3a 100644 --- a/crates/test-ui/ui/declare_class_invalid_type.stderr +++ b/crates/test-ui/ui/declare_class_invalid_type.stderr @@ -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> - std::option::Option<&mut std::option::Option>> &mut std::option::Option> &mut objc2::rc::Id + std::option::Option<&mut objc2::rc::Id> + std::option::Option<&mut std::option::Option>> 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) @@ -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> - std::option::Option<&mut std::option::Option>> &mut std::option::Option> &mut objc2::rc::Id + std::option::Option<&mut objc2::rc::Id> + std::option::Option<&mut std::option::Option>> 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) diff --git a/crates/test-ui/ui/mutability_traits_unimplementable2.stderr b/crates/test-ui/ui/mutability_traits_unimplementable2.stderr index c52bc087c..efb5e7cf3 100644 --- a/crates/test-ui/ui/mutability_traits_unimplementable2.stderr +++ b/crates/test-ui/ui/mutability_traits_unimplementable2.stderr @@ -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

objc2::runtime::AnyObject + objc2::runtime::ProtocolObject

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