---
namespace: Parse
expectation: Fail
outputs:
- "Error [EPAR0370020]: A parameter cannot be both public and const.\n --> test:3:20\n |\n 3 | function x(x: u32, public const y: i32) {\n | ^^^^^^^^^^^^"