]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-22468.stderr
Require Drop impls to have the same constness on its bounds as the bounds on the...
[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    |         --- `foo` has type `&str`
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`.