]> git.proxmox.com Git - rustc.git/blame - src/test/ui/consts/const-as-fn.stderr
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / ui / consts / const-as-fn.stderr
CommitLineData
6a06907d
XL
1error[E0618]: expected function, found `usize`
2 --> $DIR/const-as-fn.rs:4:5
3 |
4LL | const FOO: usize = 0;
5 | --------------------- `FOO` defined here
6...
7LL | FOO();
8 | ^^^--
9 | |
10 | call expression requires function
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0618`.