]> git.lizzy.rs Git - rust.git/blob - src/test/ui/resolve/issue-10200.stderr
Rollup merge of #79983 - petar-dambovaliev:master, r=Dylan-DPC
[rust.git] / src / test / ui / resolve / issue-10200.stderr
1 error[E0532]: expected tuple struct or tuple variant, found function `foo`
2   --> $DIR/issue-10200.rs:6:9
3    |
4 LL | struct Foo(bool);
5    | ----------------- similarly named tuple struct `Foo` defined here
6 ...
7 LL |         foo(x)
8    |         ^^^ help: a tuple struct with a similar name exists (notice the capitalization): `Foo`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0532`.