about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/graph.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-01-07 10:21:39 +0000
committerbors <bors@rust-lang.org>2024-01-07 10:21:39 +0000
commit6ce3f44597a1fb78a6ec67d087c2f725c006515c (patch)
tree604a5df8544b34103e2c75c219c9f510b53c6830 /compiler/rustc_mir_transform/src/coverage/graph.rs
parent1c5fa447d951e054218dcb9781effbfe776e2c9e (diff)
parent3c378b9c706c41d8f07adff9efd91ccb23e1c529 (diff)
downloadrust-6ce3f44597a1fb78a6ec67d087c2f725c006515c.tar.gz
rust-6ce3f44597a1fb78a6ec67d087c2f725c006515c.zip
Auto merge of #16298 - riverbl:exclusive-range-hint, r=Veykril
feat: Add inlay hint for exclusive ranges

Adds an inlay hint containing a '<' character to exclusive range expressions and patterns that specify an upper bound.

![2024-01-07-095056_257x415_scrot](https://github.com/rust-lang/rust-analyzer/assets/94326797/d6bbc0de-52a5-4af4-b53c-a034749b6cab)

Inspired by [this comment](https://github.com/rust-lang/rust/issues/37854#issuecomment-1865124907) noting that IntelliJ Rust has this feature.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions