]> git.lizzy.rs Git - rust.git/commit
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)
commit65266c644a31e6b321e5afb3c5a2ee75be76cb0c
treeadde5d96c9f4b0ecd33fd49d8c9fd13004135cab
parent74d03d57e77b791b6973497f17a35136ddc295ab
parent3973974de133867c46727ed516b0445d7f1cb63f
Merge #813

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>