first commit

This commit is contained in:
Jana Dönszelmann 2026-05-16 20:30:31 +02:00
commit 4cd2267497
No known key found for this signature in database
10 changed files with 644 additions and 0 deletions

13
examples/coinductive.rs Normal file
View file

@ -0,0 +1,13 @@
#![allow(unused)]
enum List<T> {
Nil,
Cons(T, Box<List<T>>),
}
fn is_send(x: impl Send) {}
fn main() {
let x = 3;
is_send(List::Cons(&mut x as *mut _, Box::new(List::Nil)))
}