diff options
| author | Yacin Tmimi <yacintmimi@gmail.com> | 2022-06-16 08:51:19 -0400 |
|---|---|---|
| committer | Caleb Cartwright <calebcartwright@users.noreply.github.com> | 2022-06-17 19:34:24 -0500 |
| commit | 3de1a095e0ed52ade1b88d165d44d80455d3e6c5 (patch) | |
| tree | 555df7c79d7d6f56643ca7aa22d398472cc7da6b /compiler/rustc_mir_transform/src/coverage/debug.rs | |
| parent | 33c60740d3e1387a5979cac93785e605de8470e0 (diff) | |
| download | rust-3de1a095e0ed52ade1b88d165d44d80455d3e6c5.tar.gz rust-3de1a095e0ed52ade1b88d165d44d80455d3e6c5.zip | |
Set `package.metadata.rust-analyzer.rustc_private=true` in Cargo.toml
By setting this value in the Cargo.toml rust-analyzer understands that
rustfmt uses compiler-internals using `extern crate`.
This is a universal step that all developers will need to take in order to
get better type hints and code completion suggestions for
compiler-internals in their editor.
**Note**: users will also need to install the `rustc-dev` component via
`rustup` and add the following to their rust-analyzer configuration:
```json
{
"rust-analyzer.rustcSource": "discover",
"rust-analyzer.updates.channel": "nightly"
}
```
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions
