mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-04 10:50:15 +00:00
Improve completions in if / while expression conditions
This commit is contained in:
parent
a31e10a2fd
commit
4331688e3d
3 changed files with 236 additions and 134 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