mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
switch back to the latest beta
This commit is contained in:
parent
4bff9ce59a
commit
ebc4e75253
3 changed files with 6 additions and 4 deletions
|
@ -186,8 +186,10 @@ mod tests {
|
|||
|
||||
fn do_check<F>(before: &str, replace_with: &str, reparser: F)
|
||||
where
|
||||
for<'a> F: Fn(SyntaxNodeRef<'a>, &AtomEdit)
|
||||
-> Option<(SyntaxNodeRef<'a>, GreenNode, Vec<SyntaxError>)>,
|
||||
for<'a> F: Fn(
|
||||
SyntaxNodeRef<'a>,
|
||||
&AtomEdit,
|
||||
) -> Option<(SyntaxNodeRef<'a>, GreenNode, Vec<SyntaxError>)>,
|
||||
{
|
||||
let (range, before) = extract_range(before);
|
||||
let after = replace_range(before.clone(), range, replace_with);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue