]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-7950.stderr
Rollup merge of #98538 - TaKO8Ki:add-test-for-issue-91883, r=Mark-Simulacrum
[rust.git] / src / test / ui / issues / issue-7950.stderr
1 error[E0599]: no function or associated item named `bar` found for struct `Foo` in the current scope
2   --> $DIR/issue-7950.rs:6:10
3    |
4 LL | struct Foo;
5    |        --- function or associated item `bar` not found for this struct
6 ...
7 LL |     Foo::bar();
8    |          ^^^ function or associated item not found in `Foo`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0599`.