diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-05-11 13:21:08 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-05-11 13:21:08 +0100 |
commit | 05399250d47cdceffbf1ded08983b13a9dcc87c1 (patch) | |
tree | c3165d3c3236893c23deb881a792c2c34be2e2bf /crates/ra_arena/src | |
parent | eb892d707c379eff514df9c2a6b2203f38874b14 (diff) | |
parent | 3d66aa054230ad788162ce49f0d334e900458cac (diff) |
Merge #4421
4421: Find references to a function outside module r=flodiebold a=montekki
Fixes #4188
Yet again, it looks like although the code in
https://github.com/rust-analyzer/rust-analyzer/blob/da1f316b0246ce41d7cb8560181e294089f06ef3/crates/ra_ide_db/src/search.rs#L128-L132
may be wrong, it is not hit since the `vis` is `None` at this point. The fix is similar to the #4237 case: just add another special case to `Definition::visibility()`.
Co-authored-by: Fedor Sakharov <[email protected]>
Diffstat (limited to 'crates/ra_arena/src')
0 files changed, 0 insertions, 0 deletions