mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-17 02:08:30 +00:00
Merge #2119
2119: Add missing test for label r=kjeremy a=kjeremy Co-authored-by: kjeremy <kjeremy@gmail.com>
This commit is contained in:
commit
542bc18223
1 changed files with 1 additions and 0 deletions
|
@ -448,6 +448,7 @@ pub fn foo(mut r: WriteHandler<()>) {
|
|||
"#,
|
||||
);
|
||||
|
||||
assert_eq!(info.label(), "fn finished(&mut self, ctx: &mut Self::Context)".to_string());
|
||||
assert_eq!(info.parameters(), ["&mut self", "ctx: &mut Self::Context"]);
|
||||
assert_eq!(info.active_parameter, Some(1));
|
||||
assert_eq!(
|
||||
|
|
Loading…
Reference in a new issue