diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-04-19 08:57:40 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-04-19 08:57:40 +0100 |
commit | 75bf8328994e0966d381061647ac7dbbce374b39 (patch) | |
tree | 1fadb1bc57f4d666a427137dee8da7922b46f304 /crates/syntax/test_data/lexer/err | |
parent | 0308fd6dabfce2d13e7e9c5b2a779be73579fa31 (diff) | |
parent | 493aaa140325f3b8fa40de3de58b34e4b96c5d13 (diff) |
Merge #8540
8540: Prevent being able to rename items that are not part of the workspace r=Veykril a=Veykril
This change causes renames that happen on items coming from crates outside the workspace to fail. I believe this should be the right approach, but usage of cargo's workspace might not be entirely correct for preventing these kinds of refactoring from touching things they shouldn't. I'm not entirely sure?
cc #6623, this is one of the bigger footguns when it comes to refactoring, especially in combination with import aliases people tend to rename items coming from a crates dependency which this prevents.
Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'crates/syntax/test_data/lexer/err')
0 files changed, 0 insertions, 0 deletions