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

Possible typo in all Cargo.locks #8300

Closed
Owez opened this issue Jun 1, 2020 · 2 comments
Closed

Possible typo in all Cargo.locks #8300

Owez opened this issue Jun 1, 2020 · 2 comments
Labels
C-bug Category: bug

Comments

@Owez
Copy link

Owez commented Jun 1, 2020

Problem
There is a possible typo included in all Cargo.lock files. When cargo generates a Cargo.lock file for you, there is the following comment above the content:

# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
[[package]]
more_below_this_lock = "0.0.0"

It doesn't look like @ prefixing generated has been used before in other repositories as an indicator so looks to be a typo.

Steps

  1. Generate a Cargo.lock file using the cargo CLI

Possible Solution(s)

Remove the @ from @generated

Notes

Output of cargo version:

cargo 1.45.0-nightly (cb06cb269 2020-05-08)

Looks like this was made 17 months ago so a decent amount of recent cargo builds are affected (if this is indeed a typo).

@Owez Owez added the C-bug Category: bug label Jun 1, 2020
@sfackler
Copy link
Member

sfackler commented Jun 1, 2020

No, it is not a typo: #6180.

@Owez Owez closed this as completed Jun 2, 2020
@Owez
Copy link
Author

Owez commented Jun 2, 2020

Alright, good to know :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

2 participants