diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-03-21 18:27:23 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-21 18:27:23 +0000 |
commit | fdb12f3e0ecf827d10f81ba4dd0824a3bdce1c97 (patch) | |
tree | 31d89ca9d79afa29c54d30e3a9fa2679d44bd976 /crates/ra_hir_def/src/body.rs | |
parent | a2b5fbb07660f192166f96523680ea31c470736a (diff) | |
parent | 90c66470f9d87fd61a9d80b6f29e53e85a0a340e (diff) |
Merge #3672
3672: gen_assists_docs skip hidden files r=JoshMcguigan a=JoshMcguigan
Fixes #3670
Skips hidden files when generating assist docs, which fixes an issue where the tests would fail while an editor has created a temp file in the assists directory.
There is similar logic [here](https://github.com/rust-analyzer/rust-analyzer/blob/2720e2374be951bb762ff2815dd67c7ffe3419b7/xtask/tests/tidy-tests/main.rs#L157), although in that case the `DirEntry` is a `walkdir::DirEntry` rather than a `fs::DirEntry`. Also, it's not immediately clear that it is worth moving this functionality to somewhere accessible from both of these places and creating dependencies in this way. Let me know if this is off the mark.
Co-authored-by: Josh Mcguigan <[email protected]>
Diffstat (limited to 'crates/ra_hir_def/src/body.rs')
0 files changed, 0 insertions, 0 deletions