Created
November 20, 2020 22:09
-
-
Save dermesser/902c08436bb7241f1d560f42880e0376 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
TokenStream [Ident { ident: "test_function_onearg", span: #0 bytes(437..457) }, Group { delimiter: Parenthesis, stream: TokenStream [Literal { kind: Integer, symbol: "32", suffix: None, span: #0 bytes(458..460) }], span: #0 bytes(457..461) }] | |
thread 'rustc' panicked at 'expected one of: `for`, parentheses, `fn`, `unsafe`, `extern`, identifier, `::`, `<`, square brackets, `*`, `&`, `!`, `impl`, `_`, lifetime', /home/lbo/.cargo/registry/src/github.com-1ecc6299db9ec823/syn-1.0.48/src/parse_quote.rs:95:21 | |
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace | |
error: internal compiler error: unexpected panic | |
note: the compiler unexpectedly panicked. this is a bug. | |
note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md | |
note: rustc 1.50.0-nightly (825637983 2020-11-18) running on x86_64-unknown-linux-gnu | |
note: compiler flags: -Z proc-macro-backtrace -C embed-bitcode=no -C debuginfo=2 -C incremental --crate-type bin | |
note: some of the compiler flags provided by cargo are hidden | |
query stack during panic: | |
end of query stack | |
error: proc macro panicked | |
--> examples/test_functions.rs:30:5 | |
| | |
30 | lazycall!(test_function_onearg(32)); | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | |
= help: message: expected one of: `for`, parentheses, `fn`, `unsafe`, `extern`, identifier, `::`, `<`, square brackets, `*`, `&`, `!`, `impl`, `_`, lifetime | |
error: aborting due to previous error; 3 warnings emitted | |
error: could not compile `lazycall` | |
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