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