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

Does not compile with rustc nightly 1.23.0 as ... range syntax is no longer allowed #6

Open
raphaelcohn opened this issue Nov 17, 2017 · 3 comments

Comments

@raphaelcohn
Copy link
Contributor

You're not the only one who's been bitten by this. I've just had the same problem with svgbob, too.

Would you be able to do a quick fix and re-release to crates.io, please? I'd really like to use mon-artist in my web server project, cordial.

Details:-

error: `...` syntax cannot be used in expressions
   --> /Users/raph/.cargo/registry/src/github.com-1ecc6299db9ec823/mon-artist-0.1.3/src/lit/src/mod.rs:186:25
    |
186 |             for row in 1...self.height {
    |                         ^^^
    |
    = help: Use `..` if you need an exclusive range (a < b)
    = help: or `..=` if you need an inclusive range (a <= b)

error: `...` syntax cannot be used in expressions
   --> /Users/raph/.cargo/registry/src/github.com-1ecc6299db9ec823/mon-artist-0.1.3/src/lit/src/mod.rs:187:29
    |
187 |                 for col in 1...self.width {
    |                             ^^^
    |
    = help: Use `..` if you need an exclusive range (a < b)
    = help: or `..=` if you need an inclusive range (a <= b)

error: `...` syntax cannot be used in expressions
   --> /Users/raph/.cargo/registry/src/github.com-1ecc6299db9ec823/mon-artist-0.1.3/src/lit/src/mod.rs:204:25
    |
204 |             for row in 1...self.height {
    |                         ^^^
    |
    = help: Use `..` if you need an exclusive range (a < b)
    = help: or `..=` if you need an inclusive range (a <= b)

error: `...` syntax cannot be used in expressions
   --> /Users/raph/.cargo/registry/src/github.com-1ecc6299db9ec823/mon-artist-0.1.3/src/lit/src/mod.rs:205:29
    |
205 |                 for col in 1...self.width {
    |                             ^^^
    |
    = help: Use `..` if you need an exclusive range (a < b)
    = help: or `..=` if you need an inclusive range (a <= b)

error: `...` syntax cannot be used in expressions
   --> /Users/raph/.cargo/registry/src/github.com-1ecc6299db9ec823/mon-artist-0.1.3/src/lit/src/mod.rs:222:25
    |
222 |             for row in 1...self.height {
    |                         ^^^
    |
    = help: Use `..` if you need an exclusive range (a < b)
    = help: or `..=` if you need an inclusive range (a <= b)

error: `...` syntax cannot be used in expressions
   --> /Users/raph/.cargo/registry/src/github.com-1ecc6299db9ec823/mon-artist-0.1.3/src/lit/src/mod.rs:223:29
    |
223 |                 for col in 1...self.width {
    |                             ^^^
    |
    = help: Use `..` if you need an exclusive range (a < b)
    = help: or `..=` if you need an inclusive range (a <= b)

error: aborting due to 6 previous errors

error: Could not compile `mon-artist`.
@pnkfelix
Copy link
Owner

Sorry that its taken me so long to respond to this; I've been swamped and also my github notifications are out of control

@pnkfelix
Copy link
Owner

(for context, PR #2 provided a patch for the issue. Now I need to take care of the update to crates.io; I'm in an airport now so that may not happen until I'm home.)

@raphaelcohn
Copy link
Contributor Author

raphaelcohn commented Dec 21, 2017 via email

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

2 participants