rust/src/test/ui/privacy/private-impl-method.stderr

10 lines
260 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0624]: method `foo` is private
2018-12-25 09:56:47 -06:00
--> $DIR/private-impl-method.rs:20:7
2018-08-08 07:28:26 -05:00
|
LL | s.foo(); //~ ERROR method `foo` is private
| ^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0624`.