Skip to content
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.

"Loki" example does not compile #29

Open
apiraino opened this issue Dec 18, 2018 · 0 comments
Open

"Loki" example does not compile #29

apiraino opened this issue Dec 18, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@apiraino
Copy link

The Loki example does not compile.

$ cargo run help
   Compiling test-thunder v0.1.0 (/home/xxx/tmp/test-thunder)
error: custom attribute panicked
 --> src/main.rs:9:1
  |
9 | #[thunderclap(example: Option<String>: "Error, here", another_example: String: "No error, here")]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = help: message: index out of bounds: the len is 1 but the index is 1

Running on edition = "2018":

$ rustc --version
rustc 1.33.0-nightly (adbfec229 2018-12-17)
@spacekookie spacekookie added the bug Something isn't working label Dec 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants