Skip to content

Commit 5c24f04

Browse files
committed
Auto merge of #13547 - hi-rustin:rustin-patch-docs-link-exported_private_dependencies, r=weihanglo
docs: add link to the exported_private_dependencies lint
2 parents a4c63fe + aac6d0b commit 5c24f04

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/doc/src/reference/unstable.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ performs the same actions as a regular `build.rs` script would perform.
294294

295295
The 'public-dependency' feature allows marking dependencies as 'public'
296296
or 'private'. When this feature is enabled, additional information is passed to rustc to allow
297-
the 'exported_private_dependencies' lint to function properly.
297+
the [exported_private_dependencies](../../rustc/lints/listing/warn-by-default.html#exported-private-dependencies) lint to function properly.
298298

299299
This requires the appropriate key to be set in `cargo-features`:
300300

@@ -1183,7 +1183,7 @@ codegen-backend = "cranelift"
11831183

11841184
* Tracking Issue: [#11813](https://github.com/rust-lang/cargo/issues/11813)
11851185

1186-
With the 'gitoxide' unstable feature, all or the specified git operations will be performed by
1186+
With the 'gitoxide' unstable feature, all or the specified git operations will be performed by
11871187
the `gitoxide` crate instead of `git2`.
11881188

11891189
While `-Zgitoxide` enables all currently implemented features, one can individually select git operations
@@ -1405,7 +1405,7 @@ But the paths to these separate files are sanitized.
14051405
If `trim-paths` is not `none` or `false`, then the following paths are sanitized if they appear in a selected scope:
14061406

14071407
1. Path to the source files of the standard and core library (sysroot) will begin with `/rustc/[rustc commit hash]`,
1408-
e.g. `/home/username/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/result.rs` ->
1408+
e.g. `/home/username/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/result.rs` ->
14091409
`/rustc/fe72845f7bb6a77b9e671e6a4f32fe714962cec4/library/core/src/result.rs`
14101410
2. Path to the current package will be stripped, relatively to the current workspace root, e.g. `/home/username/crate/src/lib.rs` -> `src/lib.rs`.
14111411
3. Path to dependency packages will be replaced with `[package name]-[version]`. E.g. `/home/username/deps/foo/src/lib.rs` -> `foo-0.1.0/src/lib.rs`

0 commit comments

Comments
 (0)