From 53ae63835da570c3419712141b34180ff9aae95c Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 24 May 2019 01:46:23 +0300 Subject: :arrow_up: rustc --- .../src/snapshots/tests__highlighting.snap | 74 +++++++++++----------- .../src/snapshots/tests__rename_mod.snap | 30 ++++----- .../src/snapshots/tests__rename_mod_in_dir.snap | 30 ++++----- .../ra_ide_api/src/snapshots/tests__runnables.snap | 18 +++--- .../src/snapshots/tests__runnables_module.snap | 16 ++--- .../tests__runnables_multiple_depth_module.snap | 16 ++--- .../tests__runnables_one_depth_layer_module.snap | 16 ++--- 7 files changed, 100 insertions(+), 100 deletions(-) (limited to 'crates/ra_ide_api/src/snapshots') diff --git a/crates/ra_ide_api/src/snapshots/tests__highlighting.snap b/crates/ra_ide_api/src/snapshots/tests__highlighting.snap index 9d4c04db3..9c60aed2a 100644 --- a/crates/ra_ide_api/src/snapshots/tests__highlighting.snap +++ b/crates/ra_ide_api/src/snapshots/tests__highlighting.snap @@ -1,5 +1,5 @@ --- -created: "2019-05-23T12:10:32.628883358Z" +created: "2019-05-23T22:23:35.242742395Z" creator: insta@0.8.1 source: crates/ra_ide_api/src/syntax_highlighting.rs expression: result @@ -8,139 +8,139 @@ Ok( [ HighlightedRange { range: [1; 24), - tag: "attribute" + tag: "attribute", }, HighlightedRange { range: [25; 31), - tag: "keyword" + tag: "keyword", }, HighlightedRange { range: [32; 35), - tag: "function" + tag: "function", }, HighlightedRange { range: [42; 45), - tag: "keyword" + tag: "keyword", }, HighlightedRange { range: [46; 47), - tag: "function" + tag: "function", }, HighlightedRange { range: [49; 52), - tag: "text" + tag: "text", }, HighlightedRange { range: [58; 61), - tag: "keyword" + tag: "keyword", }, HighlightedRange { range: [62; 63), - tag: "function" + tag: "function", }, HighlightedRange { range: [65; 68), - tag: "text" + tag: "text", }, HighlightedRange { range: [73; 75), - tag: "keyword" + tag: "keyword", }, HighlightedRange { range: [76; 79), - tag: "function" + tag: "function", }, HighlightedRange { range: [80; 81), - tag: "type" + tag: "type", }, HighlightedRange { range: [80; 81), - tag: "function" + tag: "function", }, HighlightedRange { range: [88; 89), - tag: "type" + tag: "type", }, HighlightedRange { range: [96; 110), - tag: "macro" + tag: "macro", }, HighlightedRange { range: [117; 127), - tag: "comment" + tag: "comment", }, HighlightedRange { range: [128; 130), - tag: "keyword" + tag: "keyword", }, HighlightedRange { range: [131; 135), - tag: "function" + tag: "function", }, HighlightedRange { range: [145; 153), - tag: "macro" + tag: "macro", }, HighlightedRange { range: [154; 166), - tag: "string" + tag: "string", }, HighlightedRange { range: [168; 170), - tag: "literal" + tag: "literal", }, HighlightedRange { range: [178; 181), - tag: "keyword" + tag: "keyword", }, HighlightedRange { range: [182; 185), - tag: "keyword" + tag: "keyword", }, HighlightedRange { range: [186; 189), - tag: "macro" + tag: "macro", }, HighlightedRange { range: [197; 200), - tag: "macro" + tag: "macro", }, HighlightedRange { range: [192; 195), - tag: "text" + tag: "text", }, HighlightedRange { range: [208; 211), - tag: "macro" + tag: "macro", }, HighlightedRange { range: [212; 216), - tag: "macro" + tag: "macro", }, HighlightedRange { range: [226; 227), - tag: "literal" + tag: "literal", }, HighlightedRange { range: [232; 233), - tag: "literal" + tag: "literal", }, HighlightedRange { range: [242; 248), - tag: "keyword.unsafe" + tag: "keyword.unsafe", }, HighlightedRange { range: [251; 254), - tag: "text" + tag: "text", }, HighlightedRange { range: [255; 262), - tag: "text" + tag: "text", }, HighlightedRange { range: [263; 264), - tag: "literal" - } - ] + tag: "literal", + }, + ], ) diff --git a/crates/ra_ide_api/src/snapshots/tests__rename_mod.snap b/crates/ra_ide_api/src/snapshots/tests__rename_mod.snap index 890426db7..431de5c55 100644 --- a/crates/ra_ide_api/src/snapshots/tests__rename_mod.snap +++ b/crates/ra_ide_api/src/snapshots/tests__rename_mod.snap @@ -1,8 +1,8 @@ --- -created: "2019-01-24T08:39:53.759318522+00:00" -creator: insta@0.5.2 +created: "2019-05-23T22:23:35.215905447Z" +creator: insta@0.8.1 +source: crates/ra_ide_api/src/references.rs expression: "&source_change" -source: crates/ra_ide_api/src/rename.rs --- Some( SourceChange { @@ -10,29 +10,29 @@ Some( source_file_edits: [ SourceFileEdit { file_id: FileId( - 2 + 2, ), edit: TextEdit { atoms: [ AtomTextEdit { delete: [4; 7), - insert: "foo2" - } - ] - } - } + insert: "foo2", + }, + ], + }, + }, ], file_system_edits: [ MoveFile { src: FileId( - 3 + 3, ), dst_source_root: SourceRootId( - 0 + 0, ), - dst_path: "bar/foo2.rs" - } + dst_path: "bar/foo2.rs", + }, ], - cursor_position: None - } + cursor_position: None, + }, ) diff --git a/crates/ra_ide_api/src/snapshots/tests__rename_mod_in_dir.snap b/crates/ra_ide_api/src/snapshots/tests__rename_mod_in_dir.snap index e96bf5c02..aaff9b4b5 100644 --- a/crates/ra_ide_api/src/snapshots/tests__rename_mod_in_dir.snap +++ b/crates/ra_ide_api/src/snapshots/tests__rename_mod_in_dir.snap @@ -1,8 +1,8 @@ --- -created: "2019-01-22T14:45:00.975229300+00:00" -creator: insta@0.4.0 +created: "2019-05-23T22:23:35.213830371Z" +creator: insta@0.8.1 +source: crates/ra_ide_api/src/references.rs expression: "&source_change" -source: "crates\\ra_ide_api\\src\\rename.rs" --- Some( SourceChange { @@ -10,29 +10,29 @@ Some( source_file_edits: [ SourceFileEdit { file_id: FileId( - 1 + 1, ), edit: TextEdit { atoms: [ AtomTextEdit { delete: [4; 7), - insert: "foo2" - } - ] - } - } + insert: "foo2", + }, + ], + }, + }, ], file_system_edits: [ MoveFile { src: FileId( - 2 + 2, ), dst_source_root: SourceRootId( - 0 + 0, ), - dst_path: "foo2/mod.rs" - } + dst_path: "foo2/mod.rs", + }, ], - cursor_position: None - } + cursor_position: None, + }, ) diff --git a/crates/ra_ide_api/src/snapshots/tests__runnables.snap b/crates/ra_ide_api/src/snapshots/tests__runnables.snap index 71bd7a4bd..de2fadd7f 100644 --- a/crates/ra_ide_api/src/snapshots/tests__runnables.snap +++ b/crates/ra_ide_api/src/snapshots/tests__runnables.snap @@ -1,24 +1,24 @@ --- -created: "2019-01-22T14:45:00.975229300+00:00" -creator: insta@0.4.0 +created: "2019-05-23T22:23:35.217100106Z" +creator: insta@0.8.1 +source: crates/ra_ide_api/src/runnables.rs expression: "&runnables" -source: "crates\\ra_ide_api\\src\\runnables.rs" --- [ Runnable { range: [1; 21), - kind: Bin + kind: Bin, }, Runnable { range: [22; 46), kind: Test { - name: "test_foo" - } + name: "test_foo", + }, }, Runnable { range: [47; 81), kind: Test { - name: "test_foo" - } - } + name: "test_foo", + }, + }, ] diff --git a/crates/ra_ide_api/src/snapshots/tests__runnables_module.snap b/crates/ra_ide_api/src/snapshots/tests__runnables_module.snap index a28dd8952..23993a97f 100644 --- a/crates/ra_ide_api/src/snapshots/tests__runnables_module.snap +++ b/crates/ra_ide_api/src/snapshots/tests__runnables_module.snap @@ -1,20 +1,20 @@ --- -created: "2019-01-22T14:45:00.976230700+00:00" -creator: insta@0.4.0 +created: "2019-05-23T22:23:35.219258850Z" +creator: insta@0.8.1 +source: crates/ra_ide_api/src/runnables.rs expression: "&runnables" -source: "crates\\ra_ide_api\\src\\runnables.rs" --- [ Runnable { range: [1; 59), kind: TestMod { - path: "test_mod" - } + path: "test_mod", + }, }, Runnable { range: [28; 57), kind: Test { - name: "test_foo1" - } - } + name: "test_foo1", + }, + }, ] diff --git a/crates/ra_ide_api/src/snapshots/tests__runnables_multiple_depth_module.snap b/crates/ra_ide_api/src/snapshots/tests__runnables_multiple_depth_module.snap index 79f07bef9..c516a61df 100644 --- a/crates/ra_ide_api/src/snapshots/tests__runnables_multiple_depth_module.snap +++ b/crates/ra_ide_api/src/snapshots/tests__runnables_multiple_depth_module.snap @@ -1,20 +1,20 @@ --- -created: "2019-01-22T14:45:00.979218100+00:00" -creator: insta@0.4.0 +created: "2019-05-23T22:23:35.219671663Z" +creator: insta@0.8.1 +source: crates/ra_ide_api/src/runnables.rs expression: "&runnables" -source: "crates\\ra_ide_api\\src\\runnables.rs" --- [ Runnable { range: [41; 115), kind: TestMod { - path: "foo::bar::test_mod" - } + path: "foo::bar::test_mod", + }, }, Runnable { range: [68; 105), kind: Test { - name: "test_foo1" - } - } + name: "test_foo1", + }, + }, ] diff --git a/crates/ra_ide_api/src/snapshots/tests__runnables_one_depth_layer_module.snap b/crates/ra_ide_api/src/snapshots/tests__runnables_one_depth_layer_module.snap index d199e9073..b02e6707e 100644 --- a/crates/ra_ide_api/src/snapshots/tests__runnables_one_depth_layer_module.snap +++ b/crates/ra_ide_api/src/snapshots/tests__runnables_one_depth_layer_module.snap @@ -1,20 +1,20 @@ --- -created: "2019-01-22T14:45:01.016119500+00:00" -creator: insta@0.4.0 +created: "2019-05-23T22:23:35.224315047Z" +creator: insta@0.8.1 +source: crates/ra_ide_api/src/runnables.rs expression: "&runnables" -source: "crates\\ra_ide_api\\src\\runnables.rs" --- [ Runnable { range: [23; 85), kind: TestMod { - path: "foo::test_mod" - } + path: "foo::test_mod", + }, }, Runnable { range: [46; 79), kind: Test { - name: "test_foo1" - } - } + name: "test_foo1", + }, + }, ] -- cgit v1.2.3