rust-analyzer/crates/ide-assists/src
bors 6ce3f44597 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.
2024-01-07 10:21:39 +00:00
..
handlers Auto merge of #16298 - riverbl:exclusive-range-hint, r=Veykril 2024-01-07 10:21:39 +00:00
tests fix: rewrite code_action generate_delegate_trait 2023-12-13 11:22:42 +08:00
utils Use HashSet to enhance performance in for_unique_generic_name in suggest_name 2024-01-02 21:33:06 +08:00
assist_config.rs Add config for preferring / ignoring prelude modules in find_path 2023-11-11 14:56:38 +01:00
assist_context.rs Import serde derives on converting json to struct 2022-08-06 20:12:21 +04:30
lib.rs Don't explicitly warn against semicolon_in_expressions_from_macros 2023-12-05 11:35:09 +01:00
tests.rs Auto merge of #16082 - DropDemBits:structured-snippet-migrate-5, r=Veykril 2024-01-02 10:42:16 +00:00
utils.rs fix: use original range to deal with macros in promote_local_to_const 2024-01-02 10:33:48 +01:00