mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 05:38:46 +00:00
commit missing file
This commit is contained in:
parent
a29211918b
commit
16ad5384f0
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ fn lexer_tests() {
|
||||||
fn reparse_test() {
|
fn reparse_test() {
|
||||||
fn do_check(before: &str, replace_with: &str) {
|
fn do_check(before: &str, replace_with: &str) {
|
||||||
let (range, before) = extract_range(before);
|
let (range, before) = extract_range(before);
|
||||||
let after = libsyntax2::replace_range(before.clone(), range, replace_with);
|
let after = libsyntax2::text_utils::replace_range(before.clone(), range, replace_with);
|
||||||
|
|
||||||
let fully_reparsed = File::parse(&after);
|
let fully_reparsed = File::parse(&after);
|
||||||
let incrementally_reparsed = {
|
let incrementally_reparsed = {
|
||||||
|
|
Loading…
Reference in a new issue