You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
$ cargo build
|
|
|
|
Compiling restaurant v0.1.0 (file:///projects/restaurant)
|
|
|
|
error[E0433]: failed to resolve: use of undeclared crate or module `hosting`
|
|
|
|
--> src/lib.rs:11:9
|
|
|
|
|
|
|
|
|
11 | hosting::add_to_waitlist();
|
|
|
|
| ^^^^^^^ use of undeclared crate or module `hosting`
|
|
|
|
|
|
|
|
|
help: consider importing this module through its public re-export
|
|
|
|
|
|
|
|
|
10 + use crate::hosting;
|
|
|
|
|
|
|
|
|
|
|
|
|
warning: unused import: `crate::front_of_house::hosting`
|
|
|
|
--> src/lib.rs:7:5
|
|
|
|
|
|
|
|
|
7 | use crate::front_of_house::hosting;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `#[warn(unused_imports)]` on by default
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0433`.
|
|
|
|
warning: `restaurant` (lib) generated 1 warning
|
|
|
|
error: could not compile `restaurant` (lib) due to 1 previous error; 1 warning emitted
|