]> git.lizzy.rs Git - rust.git/blob - tests/ui/static/static-method-privacy.stderr
Rollup merge of #103236 - tspiteri:redoc-int-adc-sbb, r=m-ou-se
[rust.git] / tests / ui / static / static-method-privacy.stderr
1 error[E0624]: associated function `new` is private
2   --> $DIR/static-method-privacy.rs:9:19
3    |
4 LL |         fn new() -> S { S }
5    |         ------------- private associated function defined here
6 ...
7 LL |     let _ = a::S::new();
8    |                   ^^^ private associated function
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0624`.