Skip to content

Commit 263c858

Browse files
authored
Rollup merge of rust-lang#83389 - njasm:test_rustdoc, r=jyn514
add rust-analyzer rustc_private option in librustdoc Cargo.toml This addition will allow to have code completion while hacking rustdoc with rust-analyzer. more info: https://rust-analyzer.github.io/manual.html#rust-analyzer.rustcSource r? `@jyn514`
2 parents 2e14c1d + 34635ec commit 263c858

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/librustdoc/Cargo.toml

+3
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@ features = ["fmt", "env-filter", "smallvec", "parking_lot", "ansi"]
2929

3030
[dev-dependencies]
3131
expect-test = "1.0"
32+
33+
[package.metadata.rust-analyzer]
34+
rustc_private = true

0 commit comments

Comments
 (0)