1 2 3 4 5 6 7 8 9 10
// Tests that #[resource] with unknown attribute produces a compile error. use fastmcp_rust::resource; #[resource(uri = "test://data", unknown = "value")] fn my_resource() -> String { "data".to_string() } fn main() {}