Files
rust/tests
Jacob Pratt dc0e276d1e Rollup merge of #158233 - kantnero:allow-unstable-attr-on-target, r=JonathanBrouwer
Allow the unstable attribute on foreign type

While working the `FnPtr` trait in rust-lang/rust#156176 @carbotaniuman was trying to implement `Code` as an extern type but got an error as the current stability infrastructure does not allow `unstable` attribute on foreign type.  rust-lang/rust#158200

This PR fixes that by allowing the `unstable` attribute on ForeignTy  and adds test to verify.

@rustbot r? @JonathanBrouwer
2026-06-27 22:13:50 -04:00
..
2026-06-27 08:51:24 +00:00