]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-22468.stderr
Rollup merge of #62337 - Mark-Simulacrum:fix-cpu-usage-script, r=alexcrichton
[rust.git] / src / test / ui / issues / issue-22468.stderr
1 error[E0618]: expected function, found `&str`
2   --> $DIR/issue-22468.rs:3:13
3    |
4 LL |     let foo = "bar";
5    |         --- `&str` defined here
6 LL |     let x = foo("baz");
7    |             ^^^-------
8    |             |
9    |             call expression requires function
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0618`.