]> git.lizzy.rs Git - rust.git/blob - src/test/ui/privacy/private-method-cross-crate.stderr
:arrow_up: rust-analyzer
[rust.git] / src / test / ui / privacy / private-method-cross-crate.stderr
1 error[E0624]: associated function `nap` is private
2   --> $DIR/private-method-cross-crate.rs:7:8
3    |
4 LL |   nyan.nap();
5    |        ^^^ private associated function
6    |
7   ::: $DIR/auxiliary/cci_class_5.rs:8:9
8    |
9 LL |         fn nap(&self) {}
10    |         ------------- private associated function defined here
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0624`.