Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //file0
- error[E0599]: no function or associated item named `movement_input` found for type `input_console::InputConsole` in the current scope
- --> src/main.rs:25:12
- |
- 25 | match input_console::InputConsole::movement_input() {
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `input_console::InputConsole`
- |
- ::: src/input_console.rs
- //file1
- pub trait Input {
- fn movement_input() -> ValidMovement;
- }
- //file2
- impl Input for InputConsole {
- fn movement_input() -> ValidMovement,
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement