Skip to content

chore: fix lint cargo::manual_readme - #7074

Merged
ytmimi merged 1 commit into
rust-lang:mainfrom
weihanglo:cargo-lint
Aug 27, 2026
Merged

chore: fix lint cargo::manual_readme#7074
ytmimi merged 1 commit into
rust-lang:mainfrom
weihanglo:cargo-lint

Conversation

@weihanglo

Copy link
Copy Markdown
Member
warning: explicit `package.readme` can be inferred
 --> src/tools/rustfmt/Cargo.toml:6:1
  |
6 | readme = "README.md"
  | ^^^^^^^^^^^^^^^^^^^^
  |
  = note: `cargo::manual_readme` is set to `warn` by default
help: consider removing `package.readme`
warning: `rustfmt-nightly` (manifest) generated 1 warning

See
https://triage.rust-lang.org/gha-logs/rust-lang/rust/98030530980#L2026-08-26T03:05:00.5387201Z-L2026-08-26T03:05:00.5388957Z

This was discovered in rust-lang/rust#161789

```
warning: explicit `package.readme` can be inferred
 --> src/tools/rustfmt/Cargo.toml:6:1
  |
6 | readme = "README.md"
  | ^^^^^^^^^^^^^^^^^^^^
  |
  = note: `cargo::manual_readme` is set to `warn` by default
help: consider removing `package.readme`
warning: `rustfmt-nightly` (manifest) generated 1 warning
```

See
<https://triage.rust-lang.org/gha-logs/rust-lang/rust/98030530980#L2026-08-26T03:05:00.5387201Z-L2026-08-26T03:05:00.5388957Z>
@rustbot rustbot added the S-waiting-on-review Status: awaiting review from the assignee but also interested parties. label Aug 26, 2026
@ytmimi
ytmimi added this pull request to the merge queue Aug 27, 2026
Merged via the queue into rust-lang:main with commit 7852ca3 Aug 27, 2026
27 checks passed
@rustbot rustbot added release-notes Needs an associated changelog entry and removed S-waiting-on-review Status: awaiting review from the assignee but also interested parties. labels Aug 27, 2026
@weihanglo
weihanglo deleted the cargo-lint branch August 27, 2026 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-notes Needs an associated changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants