compiler/rustc_error_codes/src/error_codes/E0646.md MARKDOWN 10 lines View on github.com → Search inside
1It is not possible to define `main` with a where clause.23Erroneous code example:45```compile_fail,E06466fn main() where i32: Copy { // error: main function is not allowed to have7                            // a where clause8}9```

Findings

✓ No findings reported for this file.

Get this view in your editor

Same data, no extra tab — call code_get_file + code_get_findings over MCP from Claude/Cursor/Copilot.