Created
April 26, 2017 13:23
-
-
Save beefsack/2098d853fb8b40a6404ae2c890c4d7f0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Compiling brdgme-game v0.1.0 (file:///home/beefsack/Development/brdgme/game) | |
| error[E0277]: the trait bound `command::parser::Many<std::string::String, command::parser::Token>: command::parser::Parser<std::string::String>` is not satisfied | |
| --> src/command/parser.rs:561:22 | |
| | | |
| 561 | parsers.push(Box::new(Many::any(Token::new("fart")))); | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `command::parser::Parser<std::string::String>` is not implemented for `command::parser::Many<std::string::String, command::parser::Token>` | |
| | | |
| = help: the following implementations were found: | |
| <command::parser::Many<T, TP> as command::parser::Parser<std::vec::Vec<T>>> | |
| = note: required for the cast to the object type `command::parser::Parser<std::string::String>` | |
| error[E0277]: the trait bound `command::parser::Parser<std::string::String>: std::marker::Sized` is not satisfied | |
| --> src/command/parser.rs:562:22 | |
| | | |
| 562 | let parser = OneOf::new(parsers); | |
| | ^^^^^^^^^^ the trait `std::marker::Sized` is not implemented for `command::parser::Parser<std::string::String>` | |
| | | |
| = note: `command::parser::Parser<std::string::String>` does not have a constant size known at compile-time | |
| = note: required by `<command::parser::OneOf<T, TP>>::new` | |
| error[E0277]: the trait bound `command::parser::Parser<std::string::String>: std::marker::Sized` is not satisfied | |
| --> src/command/parser.rs:562:22 | |
| | | |
| 562 | let parser = OneOf::new(parsers); | |
| | ^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Sized` is not implemented for `command::parser::Parser<std::string::String>` | |
| | | |
| = note: `command::parser::Parser<std::string::String>` does not have a constant size known at compile-time | |
| = note: required by `command::parser::OneOf` | |
| error: aborting due to 3 previous errors | |
| error: Could not compile `brdgme-game`. | |
| To learn more, run the command again with --verbose. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment