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

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

15 lines
422 B
Plaintext
Raw Normal View History

2020-03-05 03:03:15 +00:00
error[E0624]: associated function `foo` is private
--> $DIR/issue-21202.rs:10:14
2018-08-08 12:28:26 +00:00
|
LL | Foo::foo(&f);
| ^^^ private associated function
|
::: $DIR/auxiliary/issue-21202.rs:4:9
|
LL | fn foo(&self) { }
| ------------- private associated function defined here
2018-08-08 12:28:26 +00:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0624`.