Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 232 Bytes

File metadata and controls

9 lines (7 loc) · 232 Bytes

It is not possible to define main with a where clause.

Erroneous code example:

fn main() where i32: Copy { // error: main function is not allowed to have
                            // a where clause
}