summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-21202.stderr
blob: e7c3f2f9a071c247267b7b9bbb30e3d70d133f4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error[E0624]: method `foo` is private
  --> $DIR/issue-21202.rs:10:14
   |
LL |         Foo::foo(&f);
   |              ^^^ private method
   |
  ::: $DIR/auxiliary/issue-21202.rs:4:9
   |
LL |         fn foo(&self) { }
   |         ------------- private method defined here

error: aborting due to previous error

For more information about this error, try `rustc --explain E0624`.