Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pathmatch no longer builds #1

Open
mqudsi opened this issue Jul 18, 2017 · 0 comments
Open

pathmatch no longer builds #1

mqudsi opened this issue Jul 18, 2017 · 0 comments

Comments

@mqudsi
Copy link

mqudsi commented Jul 18, 2017

With rust 1.18.0 (stable), the following error is produced when building pathmatch:

mqudsi@ZBook /m/c/U/M/g/static-compress> cargo build
    Updating registry `https://github.com/rust-lang/crates.io-index`
 Downloading pathmatch v0.1.2
   Compiling pathmatch v0.1.2
error: macros that expand to items must either be surrounded with braces or followed by a semicolon
  --> /home/mqudsi/.cargo/registry/src/github.com-1ecc6299db9ec823/pathmatch-0.1.2/src/pathmatch.rs:3:28
   |
3  |   macro_rules! return_if_some(
   |  ____________________________^ starting here...
4  | |     ($arg:expr) => (
5  | |         match $arg {
6  | |             Some(val) => return val,
7  | |             None => {},
8  | |         }
9  | |     );
10 | | )
   | |_^ ...ending here

error: aborting due to previous error

error: Could not compile `pathmatch`.

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant