You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made a crate called "pub", and was unable to import it into a dependent project because of the keyword clash. Some sort of warning or error from cargo would be appreciated.
The text was updated successfully, but these errors were encountered:
Dearest Reviewer,
This pull request extends the banned list of project names to include
all of the current keywords for rust. I got the list of keywords from
https://doc.rust-lang.org/grammar.html#keywords . This
closesrust-lang#2699 . The original ticket said warn but I figured how test is
handled is most likely how all banned names should be handled.
Oddly enough a few keywords have made their way to the crates.io. fn and
proc are both examples I found spot checking keywords. I do not there is
any action to take on those crates.
Thanks
Becker
Ban keywords from crate names
Dearest Reviewer,
This pull request extends the banned list of project names to include
all of the current keywords for rust. I got the list of keywords from
https://doc.rust-lang.org/grammar.html#keywords . This
closes#2699 . The original ticket said warn but I figured how test is
handled is most likely how all banned names should be handled.
Oddly enough a few keywords have made their way to the crates.io. fn and
proc are both examples I found spot checking keywords. I do not there is
any action to take on those crates.
Thanks
Becker
I made a crate called "pub", and was unable to import it into a dependent project because of the keyword clash. Some sort of warning or error from cargo would be appreciated.
The text was updated successfully, but these errors were encountered: