nuvec 0.6.1

Pure-Rust MLX for Apple Silicon: lazy arrays on unified memory, composable transforms and Metal kernels
Documentation
1
2
3
4
5
6
7
8
9
//! Compile-time behaviour of `#[derive(Tree)]`, `#[derive(Module)]` and `#[derive(Static)]`
//! (`trybuild`): accepted edge cases and the documented error messages.

#[test]
fn derive_ui() {
    let t = trybuild::TestCases::new();
    t.pass("tests/ui/derive/pass_*.rs");
    t.compile_fail("tests/ui/derive/fail_*.rs");
}