rust/tests/ui/privacy/legacy-ctor-visibility.stderr

10 lines
279 B
Plaintext
Raw Normal View History

2019-08-03 14:59:05 +00:00
error[E0423]: expected function, tuple struct or tuple variant, found struct `S`
--> $DIR/legacy-ctor-visibility.rs:9:13
2018-08-08 12:28:26 +00:00
|
2020-03-21 14:03:58 +00:00
LL | S(10);
| ^
2018-08-08 12:28:26 +00:00
error: aborting due to previous error
2019-08-03 14:59:05 +00:00
For more information about this error, try `rustc --explain E0423`.