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

Rename generated file from version.rs to version.expr #32

Merged
merged 1 commit into from
Jun 20, 2022
Merged

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Jun 20, 2022

This avoids disrupting find . -name '*.rs' | xargs rustfmt.

error: expected one of `!` or `::`, found `{`
 --> target/debug/build/rustversion-74a17b343f086e80/out/version.rs:1:25
  |
1 | crate::version::Version {
  |                         ^ expected one of `!` or `::`

This avoids disrupting `find . -name '*.rs' | xargs rustfmt`.

    error: expected one of `!` or `::`, found `{`
     --> target/debug/build/rustversion-74a17b343f086e80/out/version.rs:1:25
      |
    1 | crate::version::Version {
      |                         ^ expected one of `!` or `::`
@dtolnay dtolnay merged commit e21c23d into master Jun 20, 2022
@dtolnay dtolnay deleted the struct branch June 20, 2022 00:37
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

Successfully merging this pull request may close these issues.

None yet

1 participant