diff options
| author | bors <bors@rust-lang.org> | 2022-11-03 13:58:36 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-11-03 13:58:36 +0000 |
| commit | bbcb77ea6fc08df598b20267afd6a44018b21f5b (patch) | |
| tree | 92f159de17be5fd44e22cae42dd0eb019ff927a3 /compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp | |
| parent | f3a68712a94a74fd5bb52a779012170c9e975058 (diff) | |
| parent | 8039a07a5e13fa0690b56f3c6074e5581a4fd4c5 (diff) | |
| download | rust-bbcb77ea6fc08df598b20267afd6a44018b21f5b.tar.gz rust-bbcb77ea6fc08df598b20267afd6a44018b21f5b.zip | |
Auto merge of #13456 - emilio:scip-local-symbol, r=Veykril
scip: Generate symbols for local crates.
Consider something like:
```
// a.rs
pub struct Foo { .. } // Foo is "local 1"
fn something() {
crate::b::Bar::new() // Bar is "local 1", but of "b.rs"
}
// b.rs
pub struct Bar { .. } // "local 1"
```
Without this there's no way to disambiguate whether "local 1" references "Bar" or "Foo".
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
