]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-21202.stderr
Rollup merge of #106427 - mejrs:translation_errors, r=davidtwco
[rust.git] / tests / ui / issues / issue-21202.stderr
1 error[E0624]: associated function `foo` is private
2   --> $DIR/issue-21202.rs:10:14
3    |
4 LL |         Foo::foo(&f);
5    |              ^^^ private associated function
6    |
7   ::: $DIR/auxiliary/issue-21202.rs:4:9
8    |
9 LL |         fn foo(&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`.