placing 1.0.0

A prototype notation for referentially stable constructors
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[placing::placing]
struct Cat<K, J, const N: usize>
where
    J: Send,
{
    k: K,
    j: J,
    foo: [u8; N],
}

#[placing::placing]
impl<K, J, const N: usize> Cat<K, J, N> where J: Send {}

fn main() {}