about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/errors.rs
diff options
context:
space:
mode:
authorChayim Refael Friedman <chayimfr@gmail.com>2025-02-02 01:49:04 +0200
committerChayim Refael Friedman <chayimfr@gmail.com>2025-03-06 21:07:10 +0200
commit0bd3229ef2714487b2b697334499f3e85ea9b611 (patch)
tree14406b9f582064a39284557b8fa55cfe0c8af92d /compiler/rustc_parse/src/errors.rs
parent6a3ede12405d2f167d23609b081d11b7e3cc1036 (diff)
downloadrust-0bd3229ef2714487b2b697334499f3e85ea9b611.tar.gz
rust-0bd3229ef2714487b2b697334499f3e85ea9b611.zip
Warn the user when a rename will change the meaning of the program
Specifically, when a rename of a local will change some code that refers it to refer another local, or some code that refer another local to refer to it.

We do it by introducing a dummy edit with an annotation. I'm not a fond of this approach, but I don't think LSP has a better way.
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
0 files changed, 0 insertions, 0 deletions