Skip to content

Commit 6803fcd

Browse files
chore: update nightly snapshots (#2733)
[ci-full] This PR was automatically generated by the nightly CI run. Updated insta snapshots for nightly Rust builds. Please review the snapshot changes to ensure they are expected. Co-authored-by: hydro-project-bot[bot] <132423234+hydro-project-bot[bot]@users.noreply.github.com>
1 parent 2b33b73 commit 6803fcd

194 files changed

Lines changed: 3436 additions & 3642 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
1-
error: Cyclical dataflow within a tick is not supported in `dfir_syntax!`. Use `defer_tick()` or `defer_tick_lazy()` to break the cycle across ticks.
1+
error: Cyclical dataflow within a tick is not supported. Use `defer_tick()` or `defer_tick_lazy()` to break the cycle across ticks.
22
--> tests/compile-fail/surface_inline_cycle.rs:3:9
33
|
44
3 | source_iter(0..5_i32) -> my_union;
5-
| ^^^^^^^^^^^
5+
| ^^^^^^^^^^^^^^^^^^^^^
6+
7+
warning: variable does not need to be mutable
8+
--> tests/compile-fail/surface_inline_cycle.rs:2:9
9+
|
10+
2 | let mut flow = dfir_rs::dfir_syntax! {
11+
| ----^^^^
12+
| |
13+
| help: remove this `mut`
14+
|
15+
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
16+
17+
warning: unused variable: `flow`
18+
--> tests/compile-fail/surface_inline_cycle.rs:2:9
19+
|
20+
2 | let mut flow = dfir_rs::dfir_syntax! {
21+
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_flow`
22+
|
23+
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default

dfir_rs/tests/compile-fail/surface_inline_loop.stderr

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,28 @@ error: `loop { }` blocks are not (yet) supported in `dfir_syntax!`.
22
--> tests/compile-fail/surface_inline_loop.rs:6:18
33
|
44
6 | x -> batch() -> for_each(|_x: i32| {});
5-
| ^^^^^
5+
| ^^^^^^^
6+
7+
warning: variable does not need to be mutable
8+
--> tests/compile-fail/surface_inline_loop.rs:3:9
9+
|
10+
3 | let mut flow = dfir_rs::dfir_syntax! {
11+
| ----^^^^
12+
| |
13+
| help: remove this `mut`
14+
|
15+
= note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
16+
17+
warning: unused variable: `recv`
18+
--> tests/compile-fail/surface_inline_loop.rs:2:17
19+
|
20+
2 | let (_send, recv) = dfir_rs::util::unbounded_channel::<i32>();
21+
| ^^^^ help: if this is intentional, prefix it with an underscore: `_recv`
22+
|
23+
= note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
24+
25+
warning: unused variable: `flow`
26+
--> tests/compile-fail/surface_inline_loop.rs:3:9
27+
|
28+
3 | let mut flow = dfir_rs::dfir_syntax! {
29+
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_flow`
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
error: Negative edge creates a negative cycle which must be broken with a `defer_tick()` operator.
2-
--> tests/compile-fail/surface_negative_loop.rs:7:18
1+
error: Cyclical dataflow within a tick is not supported. Use `defer_tick()` or `defer_tick_lazy()` to break the cycle across ticks.
2+
--> tests/compile-fail/surface_negative_loop.rs:6:9
33
|
4-
7 | diff -> [neg]diff;
5-
| ^^^
4+
6 | source_iter([1]) -> [pos]diff;
5+
| ^^^^^^^^^^^^^^^^

dfir_rs/tests/snapshots-nightly/surface_async__echo@graphvis_dot.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ digraph {
1212
cluster=true
1313
fillcolor="#dddddd"
1414
style=filled
15-
label = "sg_1v1\nstratum 0"
15+
label = "sg_1v1"
1616
n1v1
1717
n2v1
1818
}

dfir_rs/tests/snapshots-nightly/surface_async__echo@graphvis_mermaid.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ linkStyle default stroke:#aaa
1111
1v1[\"(1v1) <code>source_stream(lines_recv)</code>"/]:::pullClass
1212
2v1[/"(2v1) <code>dest_sink(stdout_lines)</code>"\]:::pushClass
1313
1v1-->2v1
14-
subgraph sg_1v1 ["sg_1v1 stratum 0"]
14+
subgraph sg_1v1 ["sg_1v1"]
1515
1v1
1616
2v1
1717
end

dfir_rs/tests/snapshots-nightly/surface_book__surface_flows_1@graphvis_dot.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ digraph {
2525
cluster=true
2626
fillcolor="#dddddd"
2727
style=filled
28-
label = "sg_1v1\nstratum 0"
28+
label = "sg_1v1"
2929
subgraph sg_1v1_var_my_tee {
3030
cluster=true
3131
label="var my_tee"
@@ -37,7 +37,7 @@ digraph {
3737
cluster=true
3838
fillcolor="#dddddd"
3939
style=filled
40-
label = "sg_2v1\nstratum 0"
40+
label = "sg_2v1"
4141
n3v1
4242
n4v1
4343
subgraph sg_2v1_var_my_union {

dfir_rs/tests/snapshots-nightly/surface_book__surface_flows_1@graphvis_mermaid.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ linkStyle default stroke:#aaa
2424
5v1-->6v1
2525
7v1-->3v1
2626
8v1-->4v1
27-
subgraph sg_1v1 ["sg_1v1 stratum 0"]
27+
subgraph sg_1v1 ["sg_1v1"]
2828
subgraph sg_1v1_var_my_tee ["var <tt>my_tee</tt>"]
2929
1v1
3030
2v1
3131
end
3232
end
33-
subgraph sg_2v1 ["sg_2v1 stratum 0"]
33+
subgraph sg_2v1 ["sg_2v1"]
3434
3v1
3535
4v1
3636
subgraph sg_2v1_var_my_union ["var <tt>my_union</tt>"]

dfir_rs/tests/snapshots-nightly/surface_codegen__basic_2@graphvis_dot.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ digraph {
1212
cluster=true
1313
fillcolor="#dddddd"
1414
style=filled
15-
label = "sg_1v1\nstratum 0"
15+
label = "sg_1v1"
1616
n1v1
1717
n2v1
1818
}

dfir_rs/tests/snapshots-nightly/surface_codegen__basic_2@graphvis_mermaid.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ linkStyle default stroke:#aaa
1111
1v1[\"(1v1) <code>source_iter([1])</code>"/]:::pullClass
1212
2v1[/"(2v1) <code>for_each(|v| out_send.send(v).unwrap())</code>"\]:::pushClass
1313
1v1-->2v1
14-
subgraph sg_1v1 ["sg_1v1 stratum 0"]
14+
subgraph sg_1v1 ["sg_1v1"]
1515
1v1
1616
2v1
1717
end

dfir_rs/tests/snapshots-nightly/surface_codegen__basic_3@graphvis_dot.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ digraph {
1414
cluster=true
1515
fillcolor="#dddddd"
1616
style=filled
17-
label = "sg_1v1\nstratum 0"
17+
label = "sg_1v1"
1818
n1v1
1919
n2v1
2020
n3v1

0 commit comments

Comments
 (0)