1 2 3 4 5
error: `init` has direct exclusive access to resources; use `x` instead of `&x` --> $DIR/init-shared-access.rs:10:26 | 10 | #[init(resources = [&x])] | ^