Skip to content

Commit

Permalink
Rollup merge of rust-lang#83389 - njasm:test_rustdoc, r=jyn514
Browse files Browse the repository at this point in the history
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`
  • Loading branch information
JohnTitor committed Mar 23, 2021
2 parents 2e14c1d + 34635ec commit 263c858
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/librustdoc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@ features = ["fmt", "env-filter", "smallvec", "parking_lot", "ansi"]

[dev-dependencies]
expect-test = "1.0"

[package.metadata.rust-analyzer]
rustc_private = true

0 comments on commit 263c858

Please sign in to comment.