Skip to content

Regression in binary_macros-0.6.3, Rust 1.16 #40381

Closed
@brson

Description

@brson
101 brian@ip-10-145-43-250:~/dev/binary_macros⟫ git remote -v
origin  https://github.com/golddranks/binary_macros (fetch)
origin  https://github.com/golddranks/binary_macros (push)
brian@ip-10-145-43-250:~/dev/binary_macros⟫ git log -1
commit 04008be68f8d71e8684c050d540c743eb50e5124
Author: Pyry Kontio <pyry.kontio@drasa.eu>
Date:   Fri Mar 3 14:49:04 2017 +0200

    Trying to get categories to work. 0.6.3

brian@ip-10-145-43-250:/mnt2/dev⟫ rustc +beta -Vv
rustc 1.16.0-beta.3 (ecbf0b59e 2017-03-02)
binary: rustc
commit-hash: ecbf0b59e409af1a09c1c7c3947858c5e78f416d
commit-date: 2017-03-02
host: x86_64-unknown-linux-gnu
release: 1.16.0-beta.3
LLVM version: 3.9

error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
  --> src/lib.rs:25:1
   |
25 | proc_macro_expr_decl!(base64_nopad! => base64_nopad_impl);
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this error originates in a macro outside of the current crate

error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
  --> src/lib.rs:25:1
   |
25 | proc_macro_expr_decl!(base64_nopad! => base64_nopad_impl);
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this error originates in a macro outside of the current crate

error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
  --> src/lib.rs:26:1
   |
26 | proc_macro_expr_decl!(base64url_nopad! => base64url_nopad_impl);
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this error originates in a macro outside of the current crate

error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
  --> src/lib.rs:26:1
   |
26 | proc_macro_expr_decl!(base64url_nopad! => base64url_nopad_impl);
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: this error originates in a macro outside of the current crate

Not on 1.15. Not on 1.17 nightly

cc @jseyfried can you think of a backport that will fix this?

cc @golddranks

Metadata

Metadata

Assignees

Labels

P-highHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions