1 error[E0747]: constant provided when a type was expected
2 --> $DIR/generic-function-item-where-type.rs:4:11
7 = help: `main` is a function item, not a type
8 = help: function item types cannot be named directly
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0747`.