Skip to content

Instantly share code, notes, and snippets.

@gugahoa
Created July 22, 2018 01:37
Show Gist options
  • Save gugahoa/e787a591273b7456526f71d2ce35270e to your computer and use it in GitHub Desktop.
Save gugahoa/e787a591273b7456526f71d2ce35270e to your computer and use it in GitHub Desktop.
erro
Compiling thunder v0.3.1 (file:///home/gustavo.aguiar/git/gugahoa/thunder)
warning: this feature has been stable since 1.29.0. Attribute no longer needed: thunder
--> src/lib.rs:4:12
|
4 | #![feature(proc_macro, proc_macro_lib, iterator_flatten)]
| ^^^^^^^^^^
|
= note: #[warn(stable_features)] on by default
warning: proc macro crates and `#[no_link]` crates have no effect without `#[macro_use]`
--> examples/thor.rs:4:1
|
4 | extern crate thunder;
| ^^^^^^^^^^^^^^^^^^^^^
error[E0432]: unresolved import `thunder::thunderclap`
--> examples/thor.rs:5:5
|
5 | use thunder::thunderclap;
| ^^^^^^^^^^^^^^^^^^^^ no `thunderclap` in the root
error[E0658]: The attribute `thunderclap` is currently unknown to the compiler and may have meaning added to it in the future (see issue #29642)
--> examples/thor.rs:10:1
|
10 | #[thunderclap(drunk: bool: "Bla bla bla")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(custom_attribute)] to the crate attributes to enable
error: expected one of `(`, `)`, `,`, `::`, or `=`, found `:`
--> examples/thor.rs:10:20
|
10 | #[thunderclap(drunk: bool: "Bla bla bla")]
| ^ expected one of `(`, `)`, `,`, `::`, or `=` here
error: unexpected token: `bool`
--> examples/thor.rs:10:22
|
10 | #[thunderclap(drunk: bool: "Bla bla bla")]
| ^^^^ unexpected token after this
error: aborting due to 4 previous errors
Some errors occurred: E0432, E0658.
For more information about an error, try `rustc --explain E0432`.
error: Could not compile `thunder`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment