mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-04 02:39:32 +00:00
Merge pull request #20023 from Veykril/push-vkqlnyttnqzl
Improve completions in if / while expression conditions
This commit is contained in:
commit
3bf8a77d13
3 changed files with 268 additions and 166 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue