rust-analyzer/crates/hir/src
bors 814ff01620 Auto merge of #13458 - cameron1024:suggest-checked-wrapping-saturating, r=Veykril
add wrapping/checked/saturating assist

This addresses #13452

I'm not sure about the structure of the code. I'm not sure if it needs to be 3 separate assists, and if that means it needs to be in 3 separate files as well.

Most of the logic is in `util.rs`, which feels funny to me, but there seems to be a pattern of 1 assist per file, and this seems better than duplicating the logic.

Let me know if anything needs changes 😁
2023-01-09 11:24:44 +00:00
..
semantics Properly support IDE functionality in enum variants 2022-09-24 02:33:59 +02:00
attrs.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
db.rs Rename intern_macro -> intern_macro_call 2021-11-14 16:25:47 +01:00
diagnostics.rs Diagnose private assoc item accesses 2023-01-01 13:24:48 +01:00
display.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
from_id.rs Implemented basic enum const eval 2022-09-12 20:19:13 +01:00
has_source.rs fix(ide-db): correct single-file module rename 2022-05-28 15:07:22 +03:00
lib.rs Auto merge of #13458 - cameron1024:suggest-checked-wrapping-saturating, r=Veykril 2023-01-09 11:24:44 +00:00
semantics.rs remove unnecessary lazy evaluations 2023-01-02 15:02:54 +00:00
source_analyzer.rs remove useless conversions 2023-01-02 15:02:54 +00:00
symbols.rs Cleaned up code 2022-09-12 20:19:49 +01:00