chore: checkpoint before Python removal

This commit is contained in:
2026-03-26 22:33:59 +00:00
parent 683cec9307
commit e568ddf82a
29972 changed files with 11269302 additions and 2 deletions

21
vendor/pin-utils/tests/stack_pin.rs vendored Normal file
View File

@@ -0,0 +1,21 @@
#![forbid(unsafe_code)] // pin_mut! is completely safe.
use pin_utils::pin_mut;
use core::pin::Pin;
#[test]
fn stack_pin() {
struct Foo {}
let foo = Foo {};
pin_mut!(foo);
let _: Pin<&mut Foo> = foo;
let bar = Foo {};
let baz = Foo {};
pin_mut!(
bar,
baz,
);
let _: Pin<&mut Foo> = bar;
let _: Pin<&mut Foo> = baz;
}