pnkfelix / mon-artist

Render monospace (fixed width) text blocks to SVG
Apache License 2.0
10 stars 3 forks source link

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

Open raphaelcohn opened 7 years ago

raphaelcohn commented 7 years ago

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 commented 6 years ago

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 commented 6 years ago

(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 commented 6 years ago

No problem at all. I know what it's like to get a myriad number of them...

On 16 Dec 2017 4:27 p.m., "Felix S Klock II" notifications@github.com wrote:

(for context, PR #2 https://github.com/pnkfelix/mon-artist/issues/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.)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pnkfelix/mon-artist/issues/6#issuecomment-352193690, or mute the thread https://github.com/notifications/unsubscribe-auth/ABPx2SjaiiJEO6HKMSVt_Nh0HfFve3Caks5tA-9wgaJpZM4QiDU4 .