diff --git a/crates/header-translator/src/rust_type.rs b/crates/header-translator/src/rust_type.rs index 3c845d464..4fc07c377 100644 --- a/crates/header-translator/src/rust_type.rs +++ b/crates/header-translator/src/rust_type.rs @@ -2539,7 +2539,7 @@ impl Ty { } /// SIMD is not yet possible in FFI, see: - /// https://github.com/rust-lang/rust/issues/63068 + /// pub(crate) fn needs_simd(&self) -> bool { match self { Self::Simd { .. } => true, diff --git a/crates/header-translator/src/stmt.rs b/crates/header-translator/src/stmt.rs index 84c439c90..f51c88857 100644 --- a/crates/header-translator/src/stmt.rs +++ b/crates/header-translator/src/stmt.rs @@ -499,7 +499,7 @@ pub enum Stmt { required_items: Vec, actual_name: Option, availability: Availability, - protocols: BTreeSet, + protocols: Vec, methods: Vec, required_sendable: bool, required_mainthreadonly: bool, @@ -1062,7 +1062,7 @@ impl Stmt { verify_objc_decl(entity, context); let protocols = parse_direct_protocols(entity, context); - let protocols: BTreeSet<_> = protocols + let protocols: Vec<_> = protocols .into_iter() .map(|protocol| ItemIdentifier::new(&protocol, context)) .map(|protocol| context.replace_protocol_name(protocol)) diff --git a/generated b/generated index 7fb69cd1a..18c643914 160000 --- a/generated +++ b/generated @@ -1 +1 @@ -Subproject commit 7fb69cd1a15385658dede50f79ca823610cc9926 +Subproject commit 18c643914113eda484dbd60f90b4580232b1e1d0