You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* run clippy and update code after rust update
* run cargo check on tests
* run cargo clippy fix on tests
* accept changes in xml tests because of the diagnostic box wrapper
* update rust to 1.90, set the version by parameter
Copy file name to clipboardExpand all lines: compiler/plc_xml/src/model/snapshots/plc_xml__model__fbd__tests__recursive_sink_source_connections_are_an_error.snap
+36-30Lines changed: 36 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -4,45 +4,51 @@ expression: err
4
4
---
5
5
[
6
6
Diagnostic {
7
-
message: "Sink is connected to itself. Found the following recursion: connection2 -> connection1 -> connection2",
8
-
primary_location: SourceLocation {
9
-
span: Block {
10
-
local_id: 6,
11
-
execution_order: None,
12
-
inner_range: None,
7
+
inner: DiagnosticsInner {
8
+
message: "Sink is connected to itself. Found the following recursion: connection2 -> connection1 -> connection2",
9
+
primary_location: SourceLocation {
10
+
span: Block {
11
+
local_id: 6,
12
+
execution_order: None,
13
+
inner_range: None,
14
+
},
13
15
},
16
+
secondary_locations: None,
17
+
error_code: "E085",
18
+
sub_diagnostics: [],
19
+
internal_error: None,
14
20
},
15
-
secondary_locations: None,
16
-
error_code: "E085",
17
-
sub_diagnostics: [],
18
-
internal_error: None,
19
21
},
20
22
Diagnostic {
21
-
message: "Sink is connected to itself. Found the following recursion: connection2 -> connection1 -> connection2",
22
-
primary_location: SourceLocation {
23
-
span: Block {
24
-
local_id: 6,
25
-
execution_order: None,
26
-
inner_range: None,
23
+
inner: DiagnosticsInner {
24
+
message: "Sink is connected to itself. Found the following recursion: connection2 -> connection1 -> connection2",
25
+
primary_location: SourceLocation {
26
+
span: Block {
27
+
local_id: 6,
28
+
execution_order: None,
29
+
inner_range: None,
30
+
},
27
31
},
32
+
secondary_locations: None,
33
+
error_code: "E085",
34
+
sub_diagnostics: [],
35
+
internal_error: None,
28
36
},
29
-
secondary_locations: None,
30
-
error_code: "E085",
31
-
sub_diagnostics: [],
32
-
internal_error: None,
33
37
},
34
38
Diagnostic {
35
-
message: "Sink is connected to itself. Found the following recursion: connection1 -> connection2 -> connection1",
36
-
primary_location: SourceLocation {
37
-
span: Block {
38
-
local_id: 5,
39
-
execution_order: None,
40
-
inner_range: None,
39
+
inner: DiagnosticsInner {
40
+
message: "Sink is connected to itself. Found the following recursion: connection1 -> connection2 -> connection1",
Copy file name to clipboardExpand all lines: compiler/plc_xml/src/model/snapshots/plc_xml__model__fbd__tests__unassociated_sink_removed_from_model_with_error.snap
+12-10Lines changed: 12 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -4,17 +4,19 @@ expression: err
4
4
---
5
5
[
6
6
Diagnostic {
7
-
message: "Expected a corresponding source-connection mark for sink 'connection1', but could not find one.",
8
-
primary_location: SourceLocation {
9
-
span: Block {
10
-
local_id: 3,
11
-
execution_order: None,
12
-
inner_range: None,
7
+
inner: DiagnosticsInner {
8
+
message: "Expected a corresponding source-connection mark for sink 'connection1', but could not find one.",
0 commit comments