| $ cargo build |
| Compiling restaurant v0.1.0 (file:///projects/restaurant) |
| error[E0603]: function `add_to_waitlist` is private |
| --> src/lib.rs:9:37 |
| | |
| 9 | crate::front_of_house::hosting::add_to_waitlist(); |
| | ^^^^^^^^^^^^^^^ |
| |
| error[E0603]: function `add_to_waitlist` is private |
| --> src/lib.rs:12:30 |
| | |
| 12 | front_of_house::hosting::add_to_waitlist(); |
| | ^^^^^^^^^^^^^^^ |
| |
| error: aborting due to 2 previous errors |
| |
| For more information about this error, try `rustc --explain E0603`. |
| error: could not compile `restaurant`. |
| |
| To learn more, run the command again with --verbose. |