about summary refs log tree commit diff
path: root/docs/dev/debugging.md
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-04-19 07:57:40 +0000
committerGitHub <noreply@github.com>2021-04-19 07:57:40 +0000
commit75bf8328994e0966d381061647ac7dbbce374b39 (patch)
tree1fadb1bc57f4d666a427137dee8da7922b46f304 /docs/dev/debugging.md
parent0308fd6dabfce2d13e7e9c5b2a779be73579fa31 (diff)
parent493aaa140325f3b8fa40de3de58b34e4b96c5d13 (diff)
downloadrust-75bf8328994e0966d381061647ac7dbbce374b39.tar.gz
rust-75bf8328994e0966d381061647ac7dbbce374b39.zip
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 <lukastw97@gmail.com>
Diffstat (limited to 'docs/dev/debugging.md')
0 files changed, 0 insertions, 0 deletions