diff options
author | Aleksey Kladov <[email protected]> | 2019-11-15 09:56:24 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-11-15 09:56:24 +0000 |
commit | 3564fbb7f5fc7fc91530c441a6dacce88762fcc9 (patch) | |
tree | 5674794ed5d5eb7be2026d6cf2105602fa87d882 /crates/ra_ide_api/src/diagnostics.rs | |
parent | e05fc9455dd64c240ddc5896f739ea3842838210 (diff) |
Auto-upgrade some insta snapshots
Diffstat (limited to 'crates/ra_ide_api/src/diagnostics.rs')
-rw-r--r-- | crates/ra_ide_api/src/diagnostics.rs | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/crates/ra_ide_api/src/diagnostics.rs b/crates/ra_ide_api/src/diagnostics.rs index 2890a3d2b..e52ffefb3 100644 --- a/crates/ra_ide_api/src/diagnostics.rs +++ b/crates/ra_ide_api/src/diagnostics.rs | |||
@@ -526,28 +526,28 @@ mod tests { | |||
526 | let (analysis, file_id) = single_file("mod foo;"); | 526 | let (analysis, file_id) = single_file("mod foo;"); |
527 | let diagnostics = analysis.diagnostics(file_id).unwrap(); | 527 | let diagnostics = analysis.diagnostics(file_id).unwrap(); |
528 | assert_debug_snapshot!(diagnostics, @r###" | 528 | assert_debug_snapshot!(diagnostics, @r###" |
529 | ⋮[ | 529 | [ |
530 | ⋮ Diagnostic { | 530 | Diagnostic { |
531 | ⋮ message: "unresolved module", | 531 | message: "unresolved module", |
532 | ⋮ range: [0; 8), | 532 | range: [0; 8), |
533 | ⋮ fix: Some( | 533 | fix: Some( |
534 | ⋮ SourceChange { | 534 | SourceChange { |
535 | ⋮ label: "create module", | 535 | label: "create module", |
536 | ⋮ source_file_edits: [], | 536 | source_file_edits: [], |
537 | ⋮ file_system_edits: [ | 537 | file_system_edits: [ |
538 | ⋮ CreateFile { | 538 | CreateFile { |
539 | ⋮ source_root: SourceRootId( | 539 | source_root: SourceRootId( |
540 | ⋮ 0, | 540 | 0, |
541 | ⋮ ), | 541 | ), |
542 | ⋮ path: "foo.rs", | 542 | path: "foo.rs", |
543 | ⋮ }, | 543 | }, |
544 | ⋮ ], | 544 | ], |
545 | ⋮ cursor_position: None, | 545 | cursor_position: None, |
546 | ⋮ }, | 546 | }, |
547 | ⋮ ), | 547 | ), |
548 | ⋮ severity: Error, | 548 | severity: Error, |
549 | ⋮ }, | 549 | }, |
550 | ⋮] | 550 | ] |
551 | "###); | 551 | "###); |
552 | } | 552 | } |
553 | 553 | ||