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
385 B
Plaintext
Raw Normal View History

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