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