Merge pull request #20023 from Veykril/push-vkqlnyttnqzl

Improve completions in if / while expression conditions
This commit is contained in:
Lukas Wirth 2025-06-17 12:01:43 +00:00 committed by GitHub
commit 3bf8a77d13
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 268 additions and 166 deletions

View file

@ -10,7 +10,7 @@ use syntax::ast::{self, Pat, make};
use crate::RootDatabase;
/// Enum types that implement `std::ops::Try` trait.
#[derive(Clone, Copy)]
#[derive(Clone, Copy, Debug)]
pub enum TryEnum {
Result,
Option,