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

Warn on conflicting keys of src/cargo/util/toml/mod.rs #10317

Closed
Rustin170506 opened this issue Jan 22, 2022 · 1 comment · Fixed by #10316
Closed

Warn on conflicting keys of src/cargo/util/toml/mod.rs #10317

Rustin170506 opened this issue Jan 22, 2022 · 1 comment · Fixed by #10316
Assignees
Labels
A-manifest Area: Cargo.toml issues A-toml Area: TOML parsing and handling C-bug Category: bug

Comments

@Rustin170506
Copy link
Member

Rustin170506 commented Jan 22, 2022

Problem

a few of fields in src/cargo/util/toml/mod.rs have alternative name. When they are set at the same time, we should
warn about conflicting keys.

Possible Solution(s)

Warn when two keys are set that control the same thing.

Notes

From: #10316 (comment)

@Rustin170506 Rustin170506 added the C-bug Category: bug label Jan 22, 2022
@Rustin170506
Copy link
Member Author

@rustbot claim

@weihanglo weihanglo added A-manifest Area: Cargo.toml issues A-toml Area: TOML parsing and handling labels Feb 25, 2022
@bors bors closed this as completed in 56ccd1f Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-manifest Area: Cargo.toml issues A-toml Area: TOML parsing and handling C-bug Category: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants