about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/alloc_example.rs
diff options
context:
space:
mode:
authorChayim Refael Friedman <chayimfr@gmail.com>2025-08-24 02:26:37 +0300
committerChayim Refael Friedman <chayimfr@gmail.com>2025-08-24 02:26:37 +0300
commit4715c6d41a949358e8dd8dd96de0650939c8bf6b (patch)
tree08a095264d7aac335e0dbe819ff44938ddba3625 /compiler/rustc_codegen_gcc/example/alloc_example.rs
parentcf358c09cebfe3e1c0d7145242396f6066033fad (diff)
downloadrust-4715c6d41a949358e8dd8dd96de0650939c8bf6b.tar.gz
rust-4715c6d41a949358e8dd8dd96de0650939c8bf6b.zip
Add an option to remove reborrows from adjustment inlay hints
Reborrows are consecutive deref then ref. Make it the default because reborrows are mostly useless to the programmer.

Also rename `rust-analyzer.inlayHints.expressionAdjustmentHints.enable: "reborrow"` to `rust-analyzer.inlayHints.expressionAdjustmentHints.enable: "borrows"`, as it's not about reborrows but about any ref/deref and it's confusing with the new setting.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/alloc_example.rs')
0 files changed, 0 insertions, 0 deletions