]> git.lizzy.rs Git - rust.git/commitdiff
Merge #813
authorbors[bot] <bors[bot]@users.noreply.github.com>
Wed, 13 Feb 2019 16:17:10 +0000 (16:17 +0000)
committerbors[bot] <bors[bot]@users.noreply.github.com>
Wed, 13 Feb 2019 16:17:10 +0000 (16:17 +0000)
813: Add support for container_name in workspace/symbol query r=matklad a=vipentti

Currently this does not fill in the container_info if a type is defined on the top level in a file.

e.g. `foo.rs`
```rust
enum Foo { }
```
`Foo` will have None as the container_name, however

```rust
mod foo_mod {
    enum Foo { }
}
```
`Foo` has `foo_mod` as the container_name.

This closes #559

Co-authored-by: Ville Penttinen <villem.penttinen@gmail.com>

Trivial merge