rust/tests/ui/issues/issue-7950.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
427 B
Plaintext
Raw Normal View History

error[E0599]: no function or associated item named `bar` found for struct `Foo` in the current scope
2018-12-07 18:15:36 +00:00
--> $DIR/issue-7950.rs:6:10
2018-07-15 21:11:54 +00:00
|
LL | struct Foo;
| ---------- function or associated item `bar` not found for this struct
2018-07-15 21:11:54 +00:00
...
LL | Foo::bar();
2019-03-10 23:20:15 +00:00
| ^^^ function or associated item not found in `Foo`
2018-07-15 21:11:54 +00:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0599`.