Merge pull request #19704 from Veykril/push-wrvznvvpvtvp

Add expression fill mode variant for filling with underscore expressions
This commit is contained in:
Lukas Wirth 2025-04-28 09:45:04 +00:00 committed by GitHub
commit 0fee71065b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 172 additions and 125 deletions

View file

@ -169,3 +169,15 @@ impl AssistResolveStrategy {
#[derive(Clone, Debug)]
pub struct GroupLabel(pub String);
#[derive(Clone, Debug, PartialEq, Eq)]
pub enum ExprFillDefaultMode {
Todo,
Default,
Underscore,
}
impl Default for ExprFillDefaultMode {
fn default() -> Self {
Self::Todo
}
}