diff options
| author | Chayim Refael Friedman <chayimfr@gmail.com> | 2025-02-02 01:49:04 +0200 |
|---|---|---|
| committer | Chayim Refael Friedman <chayimfr@gmail.com> | 2025-03-06 21:07:10 +0200 |
| commit | 0bd3229ef2714487b2b697334499f3e85ea9b611 (patch) | |
| tree | 14406b9f582064a39284557b8fa55cfe0c8af92d /compiler/rustc_driver_impl/src | |
| parent | 6a3ede12405d2f167d23609b081d11b7e3cc1036 (diff) | |
| download | rust-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_driver_impl/src')
0 files changed, 0 insertions, 0 deletions
