rust/src/test/ui/issues/issue-7950.stderr

15 lines
439 B
Plaintext
Raw Normal View History

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