mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
12 lines
367 B
Plaintext
12 lines
367 B
Plaintext
error[E0624]: method `private_method` is private
|
|
--> $DIR/multiple-files.rs:7:35
|
|
|
|
|
LL | other_file::WithPrivateMethod.private_method();
|
|
| ^^^^^^^^^^^^^^ private method
|
|
|
|
|
::: $DIR/auxiliary/other_file.rs:5:5
|
|
|
|
|
LL | fn private_method(&self) {}
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ private method defined here
|
|
|
|