]> git.proxmox.com Git - rustc.git/blob - src/test/ui/generics/generic-function-item-where-type.stderr
New upstream version 1.53.0+dfsg1
[rustc.git] / src / test / ui / generics / generic-function-item-where-type.stderr
1 error[E0747]: constant provided when a type was expected
2 --> $DIR/generic-function-item-where-type.rs:4:11
3 |
4 LL | foo::<main>()
5 | ^^^^
6 |
7 = help: `main` is a function item, not a type
8 = help: function item types cannot be named directly
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0747`.