mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
Fix snap
This commit is contained in:
parent
7b548de634
commit
30f0736e64
2 changed files with 12 additions and 6 deletions
|
@ -119,7 +119,13 @@ mod tests {
|
|||
"reference_completion",
|
||||
"
|
||||
//- /lib.rs
|
||||
enum E { Foo, Bar(i32) }
|
||||
/// An enum
|
||||
enum E {
|
||||
/// Foo Variant
|
||||
Foo,
|
||||
/// Bar Variant with i32
|
||||
Bar(i32)
|
||||
}
|
||||
fn foo() { let _ = E::<|> }
|
||||
",
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue