]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rustc-args-required-const2.stderr
Rollup merge of #57859 - GuillaumeGomez:fix-background, r=QuietMisdreavus
[rust.git] / src / test / ui / rustc-args-required-const2.stderr
1 error: this function can only be invoked directly, not through a function pointer
2   --> $DIR/rustc-args-required-const2.rs:8:13
3    |
4 LL |     let a = foo; //~ ERROR: this function can only be invoked directly
5    |             ^^^
6
7 error: aborting due to previous error
8