1 2 3 4 5 6 7 8 9 10
// SPDX-License-Identifier: AGPL-3.0-only OR Commercial //! #[handler] on a function with no parameters should fail. #[galeon_engine::handler] pub fn bad_handler() -> Result<String, String> { Ok("no request".into()) } fn main() {}