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
Auto merge of #13881 - Muscraft:lints-unstable-docs, r=weihanglo
chore: Add cargo-lints to unstable docs
When originally implementing a linting system for `cargo`, I missed adding it to the unstable docs. This PR adds (basic) documentation for `[lints.cargo]`/`-Zcargo-lints` to the unstable docs.
Copy file name to clipboardExpand all lines: src/doc/src/reference/unstable.md
+22
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,7 @@ For the latest nightly, see the [nightly version] of this page.
98
98
*[artifact dependencies](#artifact-dependencies) --- Allow build artifacts to be included into other build artifacts and build them for different targets.
99
99
*[Edition 2024](#edition-2024) — Adds support for the 2024 Edition.
100
100
*[Profile `trim-paths` option](#profile-trim-paths-option) --- Control the sanitization of file paths in build outputs.
101
+
*[`[lints.cargo]`](#lintscargo) --- Allows configuring lints for Cargo.
101
102
* Information and metadata
102
103
*[Build-plan](#build-plan) --- Emits JSON information on which commands will be run.
103
104
*[unit-graph](#unit-graph) --- Emits JSON for Cargo's internal graph structure.
0 commit comments