archmage 0.9.13

Safely invoke your intrinsic power, using the tokens granted to you by the CPU. Cast primitive magics faster than any mage alive.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Test that unknown generic bounds produce clear errors.
//!
//! HasFma was removed in 0.3.0. The macro should not silently accept it.

use archmage::arcane;

#[arcane]
fn bad_generic<T: HasFma>(token: T, data: &[f32]) -> f32 {
    0.0
}

fn main() {}