about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/graph.rs
diff options
context:
space:
mode:
authorNicolas Guichard <nicolas.guichard@kdab.com>2023-12-08 16:48:42 +0100
committerNicolas Guichard <nicolas.guichard@kdab.com>2024-01-03 13:05:36 +0100
commit73d9c77f2aeed394cf131dce55807be2d3f54064 (patch)
treef99ad5bce366eb09d39d93e1f539eb32bf5d81d4 /compiler/rustc_mir_transform/src/coverage/graph.rs
parent566bb77f915d6c0b89f9db4aaf15e958bd6eb404 (diff)
downloadrust-73d9c77f2aeed394cf131dce55807be2d3f54064.tar.gz
rust-73d9c77f2aeed394cf131dce55807be2d3f54064.zip
scip: Populate SymbolInformation::kind
SymbolInformation::kind is finer-grained than the SCIP symbol suffix.
This also fixes a bug where all type aliases where treated like type
parameters.

```
trait SomeTrait {
  type AssociatedType; // ← this is SomeTrait#[AssociatedType]
}

type MyTypeAlias = u8; // ← this used to be [MyTypeAlias]
                       //   and now is MyTypeAlias#
```
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions