-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
Description
Historically, the assists have been one of our major source of crashes, usually because they didn't handle invalid or incomplete code. Let's try to clean these up a bit.
Here are the ones I've found, though some of the usages there might actually be correct.
- generate_derive internal: Deunwrap generate_derive #15434
- generate_delegate_trait fix: Remove unwraps from "Generate delegate trait" #15397
- remove_unused_imports minor : Deunwrap remove_unused_imports #15433
- inline_call minor : Deunwrap inline call #15432
- extract_function minor : Deunwrap extract_function #15431
- add_missing_match_arms Deunwrap add_missing_match_arms #15594
- wrap_return_type_in_result internal: Deunwrap wrap_return_type_in_result #15430
- generate_delegate_methods minor : Deunwrap generate_delegate_methods #15429
- desugar_doc_comment minor : Deunwrap convert_comment_block and desugar_doc_comment #15425
- remove_dbg minor: Remove
unwrap
fromRemove dbg!
#15424 - generate_default_from_new Don't provide
generate_default_from_new
when impl self ty is missing #15406 - convert_to_guarded_return minor : Deunwrap convert_to_guarded_return #15426
- convert_comment_block minor : Deunwrap convert_comment_block and desugar_doc_comment #15425
- convert_named_struct_to_tuple_struct internal : Deunwrap convert_named_struct_to_tuple_struct #15423
- apply_demorgan fix: rewrite DeMorgan assist #15410
Veykril, kehrazy and unexge