]> git.lizzy.rs Git - rust.git/blob - tests/ui/privacy/private-method.stderr
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[rust.git] / tests / 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`.