exa: Cannot compile with latest Rust due to struct shorthand error

error: struct field shorthands are unstable (see issue #37340)
  --> /exa-d551ef44a896dca9/f54bc41/src/fs/dir.rs:45:18
   |
45 |         Ok(Dir { contents, path, git })
   |                  ^^^^^^^^

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 3
  • Comments: 19 (6 by maintainers)

Commits related to this issue

Most upvoted comments

Maybe add a minimum required rust version to the docs so engineers not working regularly with rust don’t have to try to sort out which version they need?

Struct field shorthands (RFC 1682) were stabilized in rustc 1.17.0.

https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1170-2017-04-27